5
5
*/
6
6
'use strict' ;
7
7
8
+ // https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
9
+
8
10
export const DEFAULT_FLAGS : ReadonlyArray < string > = [
9
11
// Disable built-in Google Translate service
10
12
'--disable-features=Translate' ,
@@ -15,6 +17,10 @@ export const DEFAULT_FLAGS: ReadonlyArray<string> = [
15
17
// Disable various background network services, including extension updating,
16
18
// safe browsing service, upgrade detector, translate, UMA
17
19
'--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' ,
18
24
// Disable syncing to a Google account
19
25
'--disable-sync' ,
20
26
// Disable reporting to UMA, but allows for collection
@@ -33,6 +39,12 @@ export const DEFAULT_FLAGS: ReadonlyArray<string> = [
33
39
'--disable-renderer-backgrounding' ,
34
40
// Disable task throttling of timer tasks from background pages.
35
41
'--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' ,
36
48
// Disable background tracing (aka slow reports & deep reports) to avoid 'Tracing already started'
37
49
'--force-fieldtrials=*BackgroundTracing/default/' ,
38
50
] ;
0 commit comments