NEW 64913
dispatchEvent should raise INVALID_STATE_ERR, not DISPATCH_REQUEST_ERR, if its argument is being dispatched
https://bugs.webkit.org/show_bug.cgi?id=64913
Summary dispatchEvent should raise INVALID_STATE_ERR, not DISPATCH_REQUEST_ERR, if it...
Dominic Cooney
Reported 2011-07-20 17:49:47 PDT
Bug 64150 made dispatchEvent raise DISPATCH_REQUEST_ERR if its argument is already being dispatched, per the DOM 3 Events spec: <http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#events-EventTarget-dispatchEvent> Raising an exception is right, however DOM Core specifies that it should raise INVALID_STATE_ERR: <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-eventtarget-dispatchevent>
Attachments
Dominic Cooney
Comment 1 2011-07-31 21:54:42 PDT
Note You need to log in before you can comment on or make changes to this bug.