Enable |skip_beforeunload| for incognito dev_tools browser type.
Incognito window did not close after clicking on "exit incognito" button for the first time, when a DevTools detached window was open. The |skip_beforeunload| was set to true for incognito profile types for faster exit. However, this resulted in devtools not being informed the main window is closing. The fix is to add BeforeUnloadhandlers checks in the incognito mode if devtools windows are open. Bug: 953217 Change-Id: I3bf0a0b3b4986faab639db073ae093fbcde8406d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774635 Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#693615}
Showing
Please register or sign in to comment