Skip to main content

Bug Tracker

Side navigation

#6113 closed bug (fixed)

Opened February 17, 2010 10:29PM UTC

Closed February 27, 2010 03:04PM UTC

beforeunload event fires twice

Reported by: SidneySM Owned by:
Priority: Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: beforeunload, onbeforeunload, event, bind, special Cc:
Blocked by: Blocking:

beforeunload event handlers on window are firing twice: once for onbeforeunload assigned in the event's setup, once for addEventListener.

It's also worth noting that WebKit does now support a return value from beforeunload bound with addEventListener.

Attachments (1)
  • beforeunload.html (0.4 KB) - added by SidneySM February 17, 2010 10:30PM UTC.


Change History (1)

Changed February 27, 2010 03:04PM UTC by john comment:1

resolution: → fixed
status: newclosed