Re: [whatwg/dom] Consider making dispatchEvent() unset stop (immediate) propagation flags (#219)

It looks like there are a couple of web platform tests that need updating:
- dom/events/Event-initEvent.html

> Calling initEvent must unset the stop propagation flag. assert_unreached: Reached unreachable code
> 
> @http://w3c-test.org/dom/events/Event-initEvent.html:88:5
> Test.prototype.step@http://w3c-test.org/resources/testharness.js:1403:20
> Test.prototype.step_func/<@http://w3c-test.org/resources/testharness.js:1427:20
> @http://w3c-test.org/dom/events/Event-initEvent.html:91:17
> Test.prototype.step@http://w3c-test.org/resources/testharness.js:1403:20
> async_test@http://w3c-test.org/resources/testharness.js:518:13
> @http://w3c-test.org/dom/events/Event-initEvent.html:81:1

- dom/events/Event-propagation.html

> Fail After stopPropagation() assert_equals: Propagation flag expected false but got true
> 
> testPropagationFlag/<@http://w3c-test.org/dom/events/Event-propagation.html:19:5
> Test.prototype.step@http://w3c-test.org/resources/testharness.js:1403:20
> test@http://w3c-test.org/resources/testharness.js:501:9
> testPropagationFlag@http://w3c-test.org/dom/events/Event-propagation.html:11:3
> @http://w3c-test.org/dom/events/Event-propagation.html:28:1

and

> Fail After stopImmediatePropagation() assert_equals: Propagation flag expected false but got true
> 
> testPropagationFlag/<@http://w3c-test.org/dom/events/Event-propagation.html:19:5
> Test.prototype.step@http://w3c-test.org/resources/testharness.js:1403:20
> test@http://w3c-test.org/resources/testharness.js:501:9
> testPropagationFlag@http://w3c-test.org/dom/events/Event-propagation.html:11:3
> @http://w3c-test.org/dom/events/Event-propagation.html:35:1


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/219#issuecomment-239977650

Received on Tuesday, 16 August 2016 01:29:27 UTC