chore: expose enabled chrome features as an array (#11141)
This commit is contained in:
parent
8b60c07735
commit
b020e77991
@ -176,6 +176,8 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
'ProcessPerSiteUpToMainFrameThreshold',
|
'ProcessPerSiteUpToMainFrameThreshold',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const enabledFeatures = ['NetworkServiceInProcess2'];
|
||||||
|
|
||||||
const chromeArguments = [
|
const chromeArguments = [
|
||||||
'--allow-pre-commit-input',
|
'--allow-pre-commit-input',
|
||||||
'--disable-background-networking',
|
'--disable-background-networking',
|
||||||
@ -200,7 +202,7 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
// TODO(sadym): remove '--enable-blink-features=IdleDetection' once
|
// TODO(sadym): remove '--enable-blink-features=IdleDetection' once
|
||||||
// IdleDetection is turned on by default.
|
// IdleDetection is turned on by default.
|
||||||
'--enable-blink-features=IdleDetection',
|
'--enable-blink-features=IdleDetection',
|
||||||
'--enable-features=NetworkServiceInProcess2',
|
`--enable-features=${enabledFeatures.join(',')}`,
|
||||||
'--export-tagged-pdf',
|
'--export-tagged-pdf',
|
||||||
'--force-color-profile=srgb',
|
'--force-color-profile=srgb',
|
||||||
'--metrics-recording-only',
|
'--metrics-recording-only',
|
||||||
|
Loading…
Reference in New Issue
Block a user