Bug 1715880 - Disable bfcache-in-parent when running devtools/client/application/test/browser/browser_application_panel_list-several-workers.js, r=ochameau

Differential Revision: https://phabricator.services.mozilla.com/D117461
This commit is contained in:
Olli Pettay 2021-06-10 22:17:40 +00:00
Родитель f3c620e4c3
Коммит 4faa8c8e72
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -12,6 +12,12 @@ const SIMPLE_URL = URL_ROOT + "resources/service-workers/simple.html";
const OTHER_SCOPE_URL = URL_ROOT + "resources/service-workers/scope-page.html";
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]],
});
await enableApplicationPanel();
const { panel, commands, tab } = await openNewTabAndApplicationPanel(