Chromium Code Reviews
DescriptionRevert of Always update the omnibox URL when cancelling via onbeforeunload (patchset #7 id:110001 of https://codereview.chromium.org/2919593007/ )
Reason for revert:
This caused failures on browser_side_navigation_content_browsertests (WebContentsImplBrowserTest.DismissingBeforeUnloadDialogInvalidatesUrl). See: https://crbug.com/734835 for links to the builders.
Original issue's description:
> Always update the omnibox URL when cancelling via onbeforeunload
>
> The problem was that browser-initiated, same-site navigations that are
> cancelled via a beforeunload dialog didn't send a INVALIDATE_TYPE_URL
> invalidation to the Browser, because this invalidation was done as
> result of the beforeunload ACK, and we never got a beforeunload ACK in
> that case in non-PlzNavigate.
>
> PlzNavigate did not have this problem.
>
> We already cleared the pending entry -- in WebContentsImpl::OnDialogClosed,
> just before we send the response to the RunJavaScriptDialog result. The fix
> is to invalidate the omnibox at the same moment.
>
> BUG=721184
> CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
>
> Review-Url: https://codereview.chromium.org/2919593007
> Cr-Commit-Position: refs/heads/master@{#480598}
> Committed: https://chromium.googlesource.com/chromium/src/+/bcce9cb42a1578ba95ead8b64e66101a8ae5e40b
TBR=creis@chromium.org,clamy@chromium.org,nick@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=721184, 734835
Review-Url: https://codereview.chromium.org/2952483002
Cr-Commit-Position: refs/heads/master@{#480669}
Committed: https://chromium.googlesource.com/chromium/src/+/15f5b5b2ef86151279bbad41a0976375b9f40977
Patch Set 1 #
Messages
Total messages: 7 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||