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:
Description

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.

    Testcase

Change History (1)

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

milestone: 1.4.21.4.3
resolution: → fixed
status: newclosed
version: 1.4.11.4.2