Bug 1129106 - Load about:reader in the child process. r=margaret
authorAbdelrhman Ahmed <a.ahmed1026@gmail.com>
Sun, 08 Feb 2015 06:13:00 -0500
changeset 230138 ab63972551cb18dec790f714dd284daa637f327c
parent 230137 f2fd19c776cfbc439eba6f8a2e61468acd38fe6d
child 230139 aae9d2200d629ced681f5c734abe6919db8acf67
push id28309
push userryanvm@gmail.com
push dateSat, 21 Feb 2015 21:38:24 +0000
treeherdermozilla-central@ef051b501adf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1129106
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1129106 - Load about:reader in the child process. r=margaret
browser/components/about/AboutRedirector.cpp
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -115,16 +115,17 @@ static RedirEntry kRedirMap[] = {
     nsIAboutModule::ALLOW_SCRIPT |
     nsIAboutModule::HIDE_FROM_ABOUTABOUT |
     nsIAboutModule::ENABLE_INDEXED_DB,
     // Shares an IndexedDB origin with about:loopconversation.
     "loopconversation" },
   { "reader", "chrome://global/content/reader/aboutReader.html",
     nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
     nsIAboutModule::ALLOW_SCRIPT |
+    nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
     nsIAboutModule::HIDE_FROM_ABOUTABOUT },
 };
 static const int kRedirTotal = ArrayLength(kRedirMap);
 
 static nsAutoCString
 GetAboutModuleName(nsIURI *aURI)
 {
   nsAutoCString path;