зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1715300 - Enable BFCache in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117185
This commit is contained in:
Родитель
ce420a04a7
Коммит
35f9854f71
|
@ -14,7 +14,13 @@ const TEST_URI =
|
|||
|
||||
add_task(async function setup() {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["privacy.window.name.update.enabled", true]],
|
||||
set: [
|
||||
["privacy.window.name.update.enabled", true],
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1711544
|
||||
// Disable bfcache for Fission for now.
|
||||
// If Fission is disabled, the pref is no-op.
|
||||
["fission.bfcacheInParent", false],
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -4022,7 +4022,7 @@
|
|||
# If session history is stored in the parent process, enable bfcache for it.
|
||||
- name: fission.bfcacheInParent
|
||||
type: bool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
do_not_use_directly: true
|
||||
|
||||
|
|
|
@ -22,6 +22,15 @@ const FOLDER = getRootDirectory(gTestPath).replace(
|
|||
"http://mochi.test:8888/"
|
||||
);
|
||||
|
||||
add_task(async function setup() {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1711676
|
||||
// Disable bfcache for Fission for now.
|
||||
// If Fission is disabled, the pref is no-op.
|
||||
set: [["fission.bfcacheInParent", false]],
|
||||
});
|
||||
});
|
||||
|
||||
add_task(async function() {
|
||||
let tab = await BrowserTestUtils.openNewForegroundTab(
|
||||
gBrowser,
|
||||
|
|
Загрузка…
Ссылка в новой задаче