Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: remove firefox bandaid preferences (#19217)

Andrey Lushnikov4cb49cb16276
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,