WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Dominic Cooney
Comment 1
2011-07-31 21:54:42 PDT
Actually, this may be controversial: <
http://lists.w3.org/Archives/Public/www-dom/2011JulSep/thread.html#msg42
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug