Bug 349451 - "about:about is File not found error" [r+sr=bzbarsky]
authorReed Loden <reed@reedloden.com>
Fri, 24 Oct 2008 01:33:02 -0500
changeset 20805 020514434957cb690ed49e1d19b60fbcf2cd0aa3
parent 20804 003a5a6570af1a3fc6e9c0973839240dbfe62942
child 20806 580e62ad39aebbf8be1d2af1142fb8c4b384d745
push id3158
push userreed@reedloden.com
push dateFri, 24 Oct 2008 06:33:05 +0000
treeherdermozilla-central@020514434957 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs349451
milestone1.9.1b2pre
Bug 349451 - "about:about is File not found error" [r+sr=bzbarsky]
docshell/base/nsAboutRedirector.cpp
docshell/build/nsDocShellModule.cpp
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -76,17 +76,16 @@ static RedirEntry kRedirMap[] = {
     { "logo", "chrome://branding/content/about.png",
       nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT},
     { "buildconfig", "chrome://global/content/buildconfig.html",
       nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT },
     { "license", "chrome://global/content/license.html",
       nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT },
     { "licence", "chrome://global/content/license.html",
       nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT },
-    { "about", "chrome://global/content/aboutAbout.html", 0 },
     { "neterror", "chrome://global/content/netError.xhtml",
       nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
       nsIAboutModule::ALLOW_SCRIPT }
 };
 static const int kRedirTotal = NS_ARRAY_LENGTH(kRedirMap);
 
 NS_IMETHODIMP
 nsAboutRedirector::NewChannel(nsIURI *aURI, nsIChannel **result)
--- a/docshell/build/nsDocShellModule.cpp
+++ b/docshell/build/nsDocShellModule.cpp
@@ -206,21 +206,16 @@ static const nsModuleComponentInfo gDocS
       NS_ABOUT_MODULE_CONTRACTID_PREFIX "license",
       nsAboutRedirector::Create
     },
     { "about:licence",
       NS_ABOUT_REDIRECTOR_MODULE_CID,
       NS_ABOUT_MODULE_CONTRACTID_PREFIX "licence",
       nsAboutRedirector::Create
     },
-    { "about:about",
-      NS_ABOUT_REDIRECTOR_MODULE_CID,
-      NS_ABOUT_MODULE_CONTRACTID_PREFIX "about",
-      nsAboutRedirector::Create
-    },
     { "about:neterror",
       NS_ABOUT_REDIRECTOR_MODULE_CID,
       NS_ABOUT_MODULE_CONTRACTID_PREFIX "neterror",
       nsAboutRedirector::Create
     },
 
     // uriloader
   { "Netscape URI Loader Service", NS_URI_LOADER_CID, NS_URI_LOADER_CONTRACTID, nsURILoaderConstructor, },