Skip to content

Commit a5f6eb2

Browse files
authored
Add additional chrome flags (#227)
1 parent df9d564 commit a5f6eb2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/flags.ts

+12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
'use strict';
77

8+
// https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
9+
810
export const DEFAULT_FLAGS: ReadonlyArray<string> = [
911
// Disable built-in Google Translate service
1012
'--disable-features=Translate',
@@ -15,6 +17,10 @@ export const DEFAULT_FLAGS: ReadonlyArray<string> = [
1517
// Disable various background network services, including extension updating,
1618
// safe browsing service, upgrade detector, translate, UMA
1719
'--disable-background-networking',
20+
// Don't update the browser 'components' listed at chrome://components/
21+
'--disable-component-update',
22+
// Disables client-side phishing detection.
23+
'--disable-client-side-phishing-detection',
1824
// Disable syncing to a Google account
1925
'--disable-sync',
2026
// Disable reporting to UMA, but allows for collection
@@ -33,6 +39,12 @@ export const DEFAULT_FLAGS: ReadonlyArray<string> = [
3339
'--disable-renderer-backgrounding',
3440
// Disable task throttling of timer tasks from background pages.
3541
'--disable-background-timer-throttling',
42+
// Disable the default throttling of IPC between renderer & browser processes.
43+
'--disable-ipc-flooding-protection',
44+
// Avoid potential instability of using Gnome Keyring or KDE wallet. crbug.com/571003 crbug.com/991424
45+
'--password-store=basic',
46+
// Use mock keychain on Mac to prevent blocking permissions dialogs
47+
'--use-mock-keychain',
3648
// Disable background tracing (aka slow reports & deep reports) to avoid 'Tracing already started'
3749
'--force-fieldtrials=*BackgroundTracing/default/',
3850
];

0 commit comments

Comments
 (0)