chore: for Firefox keep preference "browser.tabs.closeWindowWithLastTab" disabled for CDP (#11794)

This commit is contained in:
Henrik Skupin 2024-01-31 18:30:23 +01:00 committed by GitHub
parent f4760decdf
commit 0de9f59062
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,8 @@ export class FirefoxLauncher extends ProductLauncher {
...(protocol === 'webDriverBiDi'
? {}
: {
// Do not close the window when the last tab gets closed
'browser.tabs.closeWindowWithLastTab': false,
// Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263)
'fission.bfcacheInParent': false,
}),