Bug 1527960 - Rename 'browser.fission.oopif.attribute' to 'fission.oopif.attribute'. r=nika
authorRyan Hunt <rhunt@eqrion.net>
Fri, 01 Mar 2019 16:54:39 +0000
changeset 519846 659176e9ffde21b217890c5a75aac8795f002fab
parent 519845 163bec72cd71867012fe81c6f52aa2b5ef6a0ef3
child 519847 ee88f4e35d4fd18ee954609185445c3fd7e1cecd
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnika
bugs1527960
milestone67.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 1527960 - Rename 'browser.fission.oopif.attribute' to 'fission.oopif.attribute'. r=nika Differential Revision: https://phabricator.services.mozilla.com/D21716
dom/base/nsFrameLoader.cpp
dom/ipc/tests/test_force_oop_iframe.html
--- a/dom/base/nsFrameLoader.cpp
+++ b/dom/base/nsFrameLoader.cpp
@@ -1792,17 +1792,17 @@ bool nsFrameLoader::ShouldUseRemoteProce
   // They won't render!
   if (XRE_IsContentProcess() &&
       !CompositorBridgeChild::ChildProcessHasCompositorBridge()) {
     return false;
   }
 
   // Check if the force fission test attribute is enabled.
   if (XRE_IsContentProcess() &&
-      Preferences::GetBool("browser.fission.oopif.attribute", false) &&
+      Preferences::GetBool("fission.oopif.attribute", false) &&
       mOwnerContent->HasAttr(kNameSpaceID_None, nsGkAtoms::fission)) {
     return true;
   }
 
   if (XRE_IsContentProcess() &&
       !(PR_GetEnv("MOZ_NESTED_OOP_TABS") ||
         Preferences::GetBool("dom.ipc.tabs.nested.enabled", false))) {
     return false;
--- a/dom/ipc/tests/test_force_oop_iframe.html
+++ b/dom/ipc/tests/test_force_oop_iframe.html
@@ -8,17 +8,17 @@
 </head>
 <body>
 
 <script type="application/javascript">
 "use strict";
 /* eslint-env mozilla/frame-script */
 
 add_task(async function() {
-  await SpecialPowers.pushPrefEnv({"set": [["browser.fission.oopif.attribute", true]]});
+  await SpecialPowers.pushPrefEnv({"set": [["fission.oopif.attribute", true]]});
 
   // This iframe should be loaded out of process. Unfortunately as of the time
   // of this test's creation, many different events which we could use to detect
   // this load have not been implemented yet.
   let contentCreated = ChromeTask.spawn(null, async function() {
     let wgp = await new Promise(resolve => {
       function observer(parent) {
         info("WGP with origin: " + parent.documentPrincipal.origin);