mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: add --disable-field-trial-config (#11352)
This commit is contained in:
parent
0533764aac
commit
cbc33bea40
@ -209,7 +209,7 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
'--disable-default-apps',
|
'--disable-default-apps',
|
||||||
'--disable-dev-shm-usage',
|
'--disable-dev-shm-usage',
|
||||||
'--disable-extensions',
|
'--disable-extensions',
|
||||||
`--disable-features=${disabledFeatures.join(',')}`,
|
'--disable-field-trial-config', // https://source.chromium.org/chromium/chromium/src/+/main:testing/variations/README.md
|
||||||
'--disable-hang-monitor',
|
'--disable-hang-monitor',
|
||||||
'--disable-ipc-flooding-protection',
|
'--disable-ipc-flooding-protection',
|
||||||
'--disable-popup-blocking',
|
'--disable-popup-blocking',
|
||||||
@ -218,16 +218,14 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
'--disable-search-engine-choice-screen',
|
'--disable-search-engine-choice-screen',
|
||||||
'--disable-sync',
|
'--disable-sync',
|
||||||
'--enable-automation',
|
'--enable-automation',
|
||||||
// TODO(sadym): remove '--enable-blink-features=IdleDetection' once
|
|
||||||
// IdleDetection is turned on by default.
|
|
||||||
'--enable-blink-features=IdleDetection',
|
|
||||||
`--enable-features=${enabledFeatures.join(',')}`,
|
|
||||||
'--export-tagged-pdf',
|
'--export-tagged-pdf',
|
||||||
'--force-color-profile=srgb',
|
'--force-color-profile=srgb',
|
||||||
'--metrics-recording-only',
|
'--metrics-recording-only',
|
||||||
'--no-first-run',
|
'--no-first-run',
|
||||||
'--password-store=basic',
|
'--password-store=basic',
|
||||||
'--use-mock-keychain',
|
'--use-mock-keychain',
|
||||||
|
`--disable-features=${disabledFeatures.join(',')}`,
|
||||||
|
`--enable-features=${enabledFeatures.join(',')}`,
|
||||||
];
|
];
|
||||||
const {
|
const {
|
||||||
devtools = false,
|
devtools = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user