[Webkit-unassigned] [Bug 64847] New: Calling initEvent after event dispatch should not reinitialize the event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 23:44:13 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64847

           Summary: Calling initEvent after event dispatch should not
                    reinitialize the event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominicc at chromium.org


Per the DOM 3 Events spec draft:

<http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-event-type-initEvent>

At r91186, initEvent is a no-op if the event is _being_ dispatched, but the event can be reinitialized after dispatch is done. However the spec says that initEvent should be a no-op: "This method has no effect if called after the event has been dispatched."

DOM 2 Events also specifies this, albeit in less specific language.

<http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event-initEvent>

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