Closed Bug 853449 Opened 9 years ago Closed 9 years ago
Dispatching an event that's already being dispatched should throw Invalid
Same exact idea as bug 687486. The spec <http://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent> says InvalidStateError here, in contrast to previous specs that say an EventException should be thrown. At this point, DOM 3 Events agrees with InvalidStateError <http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-EventTarget-dispatchEvent>. Tested by <http://w3c-test.org/webapps/DOMCore/tests/submissions/Ms2ger/EventTarget-dispatchEvent.html>.
Attachment #727681 - Flags: review?(bugs)
Comment on attachment 727681 [details] [diff] [review] Patch I wonder if there is already a bug open for this.
Attachment #727681 - Flags: review?(bugs) → review+
Caught the try run before reset, and it was green. https://hg.mozilla.org/integration/mozilla-inbound/rev/2735d922d138
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.