From 4cb49cb16276a884f0b0e7213d9bf313f33c1853 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 1 Dec 2022 12:45:50 -0800 Subject: [PATCH] fix: remove firefox bandaid preferences (#19217) These preferences were migrated to those we ship with builds. Fixes #17442 --- packages/playwright-core/src/server/firefox/firefox.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/playwright-core/src/server/firefox/firefox.ts b/packages/playwright-core/src/server/firefox/firefox.ts index 2312619e62..610ff56ab9 100644 --- a/packages/playwright-core/src/server/firefox/firefox.ts +++ b/packages/playwright-core/src/server/firefox/firefox.ts @@ -92,12 +92,7 @@ export class Firefox extends BrowserType { // Prefs for quick fixes that didn't make it to the build. // Should all be moved to `playwright.cfg`. -const kBandaidFirefoxUserPrefs = { - // Avoid stalling on shutdown, after "xpcom-will-shutdown" phase. - // This at least happens when shutting down soon after launching. - // See AppShutdown.cpp for more details on shutdown phases. - 'toolkit.shutdown.fastShutdownStage': 3, -}; +const kBandaidFirefoxUserPrefs = {}; const kDisableFissionFirefoxUserPrefs = { 'browser.tabs.remote.useCrossOriginEmbedderPolicy': false,