зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527960 - Rename 'browser.fission.oopif.attribute' to 'fission.oopif.attribute'. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21716 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9d67bf069c
Коммит
12efcac84c
|
@ -1797,7 +1797,7 @@ bool nsFrameLoader::ShouldUseRemoteProcess() {
|
|||
|
||||
// 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;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
/* 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
|
||||
|
|
Загрузка…
Ссылка в новой задаче