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

Issue 6973073: Avoid canceling a pending navigation if the old RVH commits right away. (Closed)

Created:
9 years, 6 months ago by Charlie Reis
Modified:
9 years, 6 months ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, Avi (use Gerrit), brettw-cc_chromium.org, jam, Paweł Hajdan Jr., Mark Mentovai
Visibility:
Public.

Description

Avoid canceling a pending navigation if the old RVH commits right away. BUG=79176 TEST=TabContentsTest.CrossSiteNotPreemptedDuringBeforeUnload Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87617

Patch Set 1 #

Patch Set 2 : Fix failing unit tests. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -82 lines) Patch
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 chunk +24 lines, -24 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 chunk +8 lines, -16 lines 1 comment Download
M content/browser/tab_contents/navigation_controller_unittest.cc View 1 13 chunks +44 lines, -40 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager_unittest.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M content/browser/tab_contents/test_tab_contents.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Charlie Reis
9 years, 6 months ago (2011-06-01 21:33:07 UTC) #1
Charlie Reis
The try jobs revealed several unit tests that needed updating. Before, we could ignore the ...
9 years, 6 months ago (2011-06-01 23:44:49 UTC) #2
brettw
9 years, 6 months ago (2011-06-02 08:48:24 UTC) #3
LGTM

http://codereview.chromium.org/6973073/diff/3001/content/browser/renderer_hos...
File content/browser/renderer_host/render_view_host.cc (right):

http://codereview.chromium.org/6973073/diff/3001/content/browser/renderer_hos...
content/browser/renderer_host/render_view_host.cc:807: // to allow the pending
navigation to continue.
This explanation seems reasonable, but I'm trusting you that this is the right
thing :)

Powered by Google App Engine
This is Rietveld 408576698