Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 2952483002: Revert of Always update the omnibox URL when cancelling via onbeforeunload (Closed)

Created:
3 years, 6 months ago by pdr.
Modified:
3 years, 6 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -164 lines) Patch
M content/browser/frame_host/navigation_controller_impl.cc View 2 chunks +6 lines, -18 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 chunk +0 lines, -139 lines 0 comments Download
M content/public/browser/navigation_controller.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (4 generated)
pdr.
Created Revert of Always update the omnibox URL when cancelling via onbeforeunload
3 years, 6 months ago (2017-06-20 00:56:37 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2952483002/1
3 years, 6 months ago (2017-06-20 00:57:25 UTC) #4
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 00:58:17 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/15f5b5b2ef86151279bbad41a097...

Powered by Google App Engine
This is Rietveld 408576698