mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: set "network.cookie.cookieBehavior" preference to "0" only for CDP (#12016)
This commit is contained in:
parent
5ebcb9db14
commit
355835bd63
@ -235,10 +235,6 @@ function defaultProfilePreferences(
|
||||
// Disable the GFX sanity window
|
||||
'media.sanity-test.disabled': true,
|
||||
|
||||
// Prevent various error message on the console
|
||||
// jest-puppeteer asserts that no error message is emitted by the console
|
||||
'network.cookie.cookieBehavior': 0,
|
||||
|
||||
// Disable experimental feature that is only available in Nightly
|
||||
'network.cookie.sameSite.laxByDefault': false,
|
||||
|
||||
|
@ -50,6 +50,9 @@ export class FirefoxLauncher extends ProductLauncher {
|
||||
: {
|
||||
// Do not close the window when the last tab gets closed
|
||||
'browser.tabs.closeWindowWithLastTab': false,
|
||||
// Prevent various error message on the console
|
||||
// jest-puppeteer asserts that no error message is emitted by the console
|
||||
'network.cookie.cookieBehavior': 0,
|
||||
// Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263)
|
||||
'fission.bfcacheInParent': false,
|
||||
// Only enable the CDP protocol
|
||||
|
Loading…
Reference in New Issue
Block a user