Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ash-chrome special handling in BrowserView::CanAcrivate
The special handing calls ActivateAppModalDialog synchrounously which causes infinite recursion. On other platform, the problem is fixed by posting a task to call ActivateAppModalDialog and ChromeOS should follow. The ChromeOS special handing fixes a crash when creating js modal dialog under an active lock screen (http://crbug/226141). This crash no longer happens, with or without the synchronous call. Bug: 1287282 Change-Id: I6b4ac46e93e5c85336a37ae461a6e554847e5cc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3553683 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/main@{#985667}
- Loading branch information