User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: When a typo is made in the TLD and the DNS lookup returns an error, Firefox should try to identify the typo and make a suggestion. Example: The user types 'google.con'. The error page currently says 'Firefox can't find the server at www.google.con'. We could add something after that, such as 'Did you mean www.google.com?' with www.google.com as a hyperlink. I'm thinking of implementing this by leveraging the EffectiveTLDService, which keeps a list of known TLDs. We can look for known TLDs that are 1 edit distance away from the TLD that the user entered, and if we have more than one candidate, we can perhaps rank them by the frequency of various TLDs in the user's history. This 'suggestion' parameter will then be passed as an additional parameter to nsDocShell::DisplayLoadError, which will then render the error page. Comments are welcome. Reproducible: Always
You need to log in before you can comment on or make changes to this bug.