[Webkit-unassigned] [Bug 33106] New: 'load' events fire with event.eventPhase set to '0' instead of '2' AT_TARGET
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 2 09:39:20 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33106
Summary: 'load' events fire with event.eventPhase set to '0'
instead of '2' AT_TARGET
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: diego.perini at gmail.com
I tested this both on Safari Version 4.0.4 (6531.21.10) and Version 3.1.2
(5525.20.1)
I noticed that the 'load' event will fire with event.eventPhase set to '0'
instead of '2' AT_TARGET.
This happens in Safari both using DOM2 or DOM0 registration. Doesn't happen in
any other tested browser.
Simple test I used:
DOM2
window.addEventListener('load', function(e) { alert("event.eventPhase: " +
e.eventPhase + "\nphase should be: 2"); }, false);
DOM0
window.onload = function(e) { alert("event.eventPhase: " + e.eventPhase +
"\nphase should be: 2"); };
from what I understand the possible values are 1, 2 and 3 ... If I recall 0 was
for custom events.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list