[Webkit-unassigned] [Bug 19468] New: Unable to dispatch Window load and unload events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 10 14:03:48 PDT 2008


           Summary: Unable to dispatch Window load and unload events
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://weston.ruter.net/projects/test-cases/safari-
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: weston at shepherd-interactive.com

Both Firefox 2/3 and Opera 9.26 are able to dispatch load and unload events on
the Window. In Safari 3.1.1, however, there exists no function
window.dispatchEvent(). I attempted a workaround by creating and initializing
load and unload events which bubble (they are specified not to bubble) and then
dispatching these on the documentElement with the hope that they would bubble
up to the Window, and this does work, but only for unload events. In Safari
there is no way to fire Window load events unless the traditional event model
is employed and window.onload() is envoked. It would seem that Safari's
behavior should be brought into line with Firefox and Opera's.

See associated URL for examples.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list