DescriptionPrevent firing BeforeUnloadEvents re-entrantly
This can happen when an onbeforeunload listener calls window.close().
Have a re-entrant invocation pretend that the user blocked the navigation, so
that we can consistently obey the user's intent on the original invocation.
BUG=430507
TEST=http/tests/misc/reentrant-beforeunload.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184985
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|