fix: remove firefox bandaid preferences (#19217)

These preferences were migrated to those we ship with builds.

Fixes #17442
This commit is contained in:
Andrey Lushnikov 2022-12-01 12:45:50 -08:00 committed by GitHub
parent 3565d97a36
commit 4cb49cb162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,