зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1715662 - Disable BFCache in parent in devtools/shared/commands/target-configuration/tests/browser_target_configuration_command_color_scheme.js. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117392
This commit is contained in:
Родитель
26098c2ce7
Коммит
ec0f0e687e
|
@ -8,6 +8,12 @@ const TEST_DOCUMENT = "target_configuration_test_doc.sjs";
|
||||||
const TEST_URI = URL_ROOT_COM_SSL + TEST_DOCUMENT;
|
const TEST_URI = URL_ROOT_COM_SSL + TEST_DOCUMENT;
|
||||||
|
|
||||||
add_task(async function() {
|
add_task(async function() {
|
||||||
|
// Disable bfcache for Fission for now.
|
||||||
|
// If Fission is disabled, the pref is no-op.
|
||||||
|
await SpecialPowers.pushPrefEnv({
|
||||||
|
set: [["fission.bfcacheInParent", false]],
|
||||||
|
});
|
||||||
|
|
||||||
info("Setup the test page with workers of all types");
|
info("Setup the test page with workers of all types");
|
||||||
const tab = await addTab(TEST_URI);
|
const tab = await addTab(TEST_URI);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче