Skip to content

Commit

Permalink
fix(launcher): add flags to improve reliability (#3474)
Browse files Browse the repository at this point in the history
- The "IPC flooding protection" was added in https://crrev.com/604305
and should be disabled for our automation usescases.
- The other two flags are coming from argos-ci/jest-puppeteer#137
  • Loading branch information
aslushnikov committed Nov 1, 2018
1 parent 3dd5c28 commit 2a88690
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Launcher.js
Expand Up @@ -35,6 +35,7 @@ const CHROME_PROFILE_PATH = path.join(os.tmpdir(), 'puppeteer_dev_profile-');
const DEFAULT_ARGS = [
'--disable-background-networking',
'--disable-background-timer-throttling',
'--disable-backgrounding-occluded-windows',
'--disable-breakpad',
'--disable-client-side-phishing-detection',
'--disable-default-apps',
Expand All @@ -43,8 +44,10 @@ const DEFAULT_ARGS = [
// TODO: Support OOOPIF. @see https://github.com/GoogleChrome/puppeteer/issues/2548
'--disable-features=site-per-process',
'--disable-hang-monitor',
'--disable-ipc-flooding-protection',
'--disable-popup-blocking',
'--disable-prompt-on-repost',
'--disable-renderer-backgrounding',
'--disable-sync',
'--disable-translate',
'--metrics-recording-only',
Expand Down

0 comments on commit 2a88690

Please sign in to comment.