From 0f8c7e76c22579680e0d3c7d65554a0611bad09d Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 31 May 2018 18:17:50 -0700 Subject: [PATCH] feat(launcher): disable crash reporting by default (#2652) This patch disables crash reporting since it's not needed for automation purposes. It also deals some troubles for us since crashpad is a separate process on Windows which has a larger lifetime than chromium. This, in turn, prevents us from cleaning up profile directory. --- lib/Launcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Launcher.js b/lib/Launcher.js index c546128b2de..e33a146f2be 100644 --- a/lib/Launcher.js +++ b/lib/Launcher.js @@ -33,6 +33,7 @@ const CHROME_PROFILE_PATH = path.join(os.tmpdir(), 'puppeteer_dev_profile-'); const DEFAULT_ARGS = [ '--disable-background-networking', '--disable-background-timer-throttling', + '--disable-breakpad', '--disable-client-side-phishing-detection', '--disable-default-apps', '--disable-dev-shm-usage',