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

Issue 6904039: Update the URL if the user cancels a beforeunload handler. (Closed)

Created:
9 years, 8 months ago by Charlie Reis
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, Avi (use Gerrit), jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Update the URL if the user cancels a beforeunload handler. BUG=80401 TEST=BrowserTest.CancelBeforeUnloadResetsURL Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83388

Patch Set 1 #

Patch Set 2 : Add browser tests. #

Patch Set 3 : Add missing file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -3 lines) Patch
M chrome/browser/browser_browsertest.cc View 1 2 3 chunks +33 lines, -0 lines 0 comments Download
A chrome/test/data/beforeunload.html View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host.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/tab_contents/tab_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Charlie Reis
Here's the first part of the fix. Still needs a test, and I'd like to ...
9 years, 8 months ago (2011-04-27 01:05:23 UTC) #1
brettw
This approach makes sense, let me know when your final patch is ready.
9 years, 8 months ago (2011-04-28 05:58:32 UTC) #2
Charlie Reis
Thanks. The new test is passing on the try bots, so I think we should ...
9 years, 8 months ago (2011-04-28 15:38:07 UTC) #3
brettw
9 years, 8 months ago (2011-04-28 20:17:28 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698