404 Error Page Status
Feature DescriptionWe want Firefox to override server-supplied 404 error pages in certain cases. The Firefox 404 page should provide the user with tools we think are more useful to the user for resolving the situation, than the server supplied page. This includes alternate ("did you mean") URLs derived from the Places database and some pre-loaded search links/controls. This feature is being tracked in bug 482874.
Status Almost ready to go. Notable progress this week:
- The docshell changes have r+ from bz with just a few changes, most of which I've already made.
- Axel has provided some feedback on localization.
- Johnath has provided feedback on the XHTML.
- Marco has provided some feedback about the Places changes. Notably he points out that query performance could be an issue on large databases.
- David Dahl has provided me with a "max_places" test database. The bad news is the URL suggestions query can take ~30 seconds to run against this database. The good news is that a very simple length-check guard in the query can make a big difference.
- Address the localization changes Axel raised, and then get formal L10N review.
- Address the performance issues in the URL suggestions query. (Probably just a LIMIT-based approach for the initial patch)
- Get a formal review of Places changes (Dietrich did an informal review a few weeks ago).
- Get a final UI review.
- Make sure all the parts of the patch have r+ from the various parties.
- Land the thing.
Comments (10)
Once we get the 404 page up and running, we can extend it to handle DNS Not Found errors as well. The suggested URLs feature should then provide you with a "did you mean: slashdot.org" option, assuming that you've been there at least once already.
If you read the bug, you will see the same thing is being done here.
We only override very small 404 error pages, on the assumption that these are almost always largely useless default web server 404 pages. Note that Internet Explorer and Google Chrome do this now, so we're unlikely to make the situation any worse.
It won't be in the first patch, but we'd like to provide a facility for viewing the overridden error page should the user decide to do so.
Well, COMCAST isn't doing that yet, thankfully. I notice that they're now hijacking dns-not-found errors, however. I don't know if there's anything Firefox can do about this sort of thing, but if there is, I'm all for it.


If you type in a url that is incomplete like www.slashdot.or and press go.. then realize it and try to retype the URL.. the "can't load page" thing comes up and stops you from finishing typing in the URL.