Appearance
Firefox has a feature to automatically correct URLs that are mistyped. For example, if you type wikipedia.prg in the address bar, Firefox will automatically correct it to wikipedia.org.

This also world for other root domains like .com and .net, and also for URI schemes like https.
You can find more details about this feature in the source code: