Bug 1082791 - Add about:certerror to the list of URLs that can be loaded remotely. r=Mossop
authorFelipe Gomes <felipc@gmail.com>
Wed, 15 Oct 2014 18:12:39 -0300
changeset 210578 af47efe0700909f6ebdbd7ace59b3442516800a3
parent 210557 a280a03c9f3cc6207cd17a7c76081e4e7ffd4eea
child 210579 cbf96909b5bcec7a72be6b977b5bd23c326ade45
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersMossop
bugs1082791
milestone36.0a1
Bug 1082791 - Add about:certerror to the list of URLs that can be loaded remotely. r=Mossop
browser/modules/E10SUtils.jsm
--- a/browser/modules/E10SUtils.jsm
+++ b/browser/modules/E10SUtils.jsm
@@ -14,17 +14,18 @@ this.E10SUtils = {
   shouldBrowserBeRemote: function(aURL) {
     // loadURI in browser.xml treats null as about:blank
     if (!aURL)
       aURL = "about:blank";
 
     if (aURL.startsWith("about:") &&
         aURL.toLowerCase() != "about:home" &&
         aURL.toLowerCase() != "about:blank" &&
-        !aURL.toLowerCase().startsWith("about:neterror")) {
+        !aURL.toLowerCase().startsWith("about:neterror") &&
+        !aURL.toLowerCase().startsWith("about:certerror")) {
       return false;
     }
 
     return true;
   },
 
   shouldLoadURI: function(aDocShell, aURI, aReferrer) {
     // about:blank is the initial document and can load anywhere