Comment #5 on issue 11647 by [email protected]: onbeforeunload is
triggered twice when closing window by window.close().
http://code.google.com/p/chromium/issues/detail?id=11647
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=28110
------------------------------------------------------------------------
r28110 | [email protected] | 2009-10-06 08:30:18 -0700 (Tue, 06 Oct 2009) |
9 lines
Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_browsertest.cc?r1=28110&r2=28109
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/renderer_host/render_view_host.cc?r1=28110&r2=28109
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
Review URL: http://codereview.chromium.org/246080
------------------------------------------------------------------------
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---