Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6113 closed bug (fixed)

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 (362 bytes) - added by SidneySM 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by SidneySM

Attachment: beforeunload.html added


comment:1 Changed 13 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.