From 4854ad5b15c9bdf93c06dcb758393e7cbacd7469 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 11 May 2022 09:41:53 +0200 Subject: [PATCH] fix: disable AvoidUnnecessaryBeforeUnloadCheckSync to fix navigations (#8330) --- src/node/Launcher.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/node/Launcher.ts b/src/node/Launcher.ts index 6ebe144d..cc48c21f 100644 --- a/src/node/Launcher.ts +++ b/src/node/Launcher.ts @@ -214,7 +214,9 @@ class ChromeLauncher implements ProductLauncher { '--disable-default-apps', '--disable-dev-shm-usage', '--disable-extensions', - '--disable-features=Translate,BackForwardCache', + // TODO: remove AvoidUnnecessaryBeforeUnloadCheckSync below + // once crbug.com/1324138 is fixed and released. + '--disable-features=Translate,BackForwardCache,AvoidUnnecessaryBeforeUnloadCheckSync', '--disable-hang-monitor', '--disable-ipc-flooding-protection', '--disable-popup-blocking',