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

Issue 2768873006: Ensure that when a new navigation cancels an existing one, the old navigation's DidFinishNavigati... (Closed)

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

Description

Ensure that when a new navigation cancels an existing one, the old navigation's DidFinishNavigation callback has an net::ERR_ABORTED error code. This fixes UrlOverridingTest#testNavigationWithFallbackURL BUG=699387 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2768873006 Cr-Commit-Position: refs/heads/master@{#459572} Committed: https://chromium.googlesource.com/chromium/src/+/cd0b7b2029d532fd338ee0e5e7839987895971ab

Patch Set 1 : with plz #

Patch Set 2 : without PlzNavigate #

Patch Set 3 : add test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M content/browser/frame_host/frame_tree_node.cc View 1 chunk +7 lines, -1 line 2 comments Download
M content/browser/frame_host/navigation_handle_impl_browsertest.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (23 generated)
jam
3 years, 9 months ago (2017-03-24 20:01:01 UTC) #16
Charlie Reis
LGTM, but see question about other ResetNavigationRequest call sites. https://codereview.chromium.org/2768873006/diff/80001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/2768873006/diff/80001/content/browser/frame_host/frame_tree_node.cc#newcode389 content/browser/frame_host/frame_tree_node.cc:389: ...
3 years, 9 months ago (2017-03-24 20:11:09 UTC) #19
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/2768873006/80001
3 years, 9 months ago (2017-03-24 21:04:59 UTC) #23
jam
https://codereview.chromium.org/2768873006/diff/80001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/2768873006/diff/80001/content/browser/frame_host/frame_tree_node.cc#newcode389 content/browser/frame_host/frame_tree_node.cc:389: navigation_request_->navigation_handle()->set_net_error_code( On 2017/03/24 20:11:09, Charlie Reis (OOO soon) wrote: ...
3 years, 9 months ago (2017-03-24 22:08:26 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:80001) as https://chromium.googlesource.com/chromium/src/+/cd0b7b2029d532fd338ee0e5e7839987895971ab
3 years, 9 months ago (2017-03-24 22:13:59 UTC) #27
wychen
3 years, 9 months ago (2017-03-24 22:39:23 UTC) #29
Message was sent while issue was closed.
The bug ID should be
https://crbug.com/699388

Powered by Google App Engine
This is Rietveld 408576698