Simplify beforeunload dispatching rules.
The complex rules come from http://crrev.com/eacad605 where the navigationStart was set after the beforeunload handler. This code no longer exists and the original conditions can be removed. BUG=1040954 Change-Id: Ifeb7c430af1ec31498d916a5dc343ac041ba8d3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008074Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#733874}
Showing
Please register or sign in to comment