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

Issue 246080: Prevents a duplicate beforeunload dialog after window.close().... (Closed)

Created:
11 years, 2 months ago by Charlie Reis
Modified:
9 years, 7 months ago
Reviewers:
ojan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Prevents a duplicate beforeunload dialog after window.close(). If the renderer tells the browser to close a window, we no longer run the unload events, because the renderer already has. BUG=11647 TEST=BrowserTest.SingleBeforeUnloadAfterWindowClose

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M chrome/browser/browser_browsertest.cc View 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Charlie Reis
11 years, 2 months ago (2009-10-02 21:01:19 UTC) #1
ojan
11 years, 2 months ago (2009-10-03 01:20:44 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698