Changeset 201826 in webkit
- Timestamp:
- Jun 8, 2016, 12:50:20 PM (10 years ago)
- Location:
- trunk/LayoutTests/imported/w3c
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r201757 r201826 1 2016-06-08 Chris Dumez <cdumez@apple.com> 2 3 Import new AddEventListenerOptions test from W3C web-platform-tests 4 https://bugs.webkit.org/show_bug.cgi?id=158535 5 6 Reviewed by Ryosuke Niwa. 7 8 Import new AddEventListenerOptions test from W3C web-platform-tests. 9 10 * web-platform-tests/dom/events/AddEventListenerOptions-passive-expected.txt: Added. 11 * web-platform-tests/dom/events/AddEventListenerOptions-passive.html: Added. 12 * web-platform-tests/dom/events/EventListenerOptions-capture.html: 13 1 14 2016-06-07 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListenerOptions-capture.html
r201757 r201826 17 17 } 18 18 document.addEventListener('test', handler, captureValue); 19 document.body.dispatchEvent(new Event('test', { 'bubbles': true}));19 document.body.dispatchEvent(new Event('test', {bubbles: true})); 20 20 document.removeEventListener('test', handler, captureValue); 21 document.body.dispatchEvent(new Event('test', { 'bubbles': true}));21 document.body.dispatchEvent(new Event('test', {bubbles: true})); 22 22 assert_equals(handlerPhase, expectedValue, "Incorrect event phase for value: " + JSON.stringify(captureValue)); 23 23 } … … 73 73 document.addEventListener('test', handler, addOptionValue); 74 74 document.removeEventListener('test', handler, removeOptionValue); 75 document.body.dispatchEvent(new Event('test', { 'bubbles': true}));75 document.body.dispatchEvent(new Event('test', {bubbles: true})); 76 76 assert_equals(!handlerInvoked, expectedEquality, "equivalence of options " + 77 77 JSON.stringify(addOptionValue) + " and " + JSON.stringify(removeOptionValue));
Note:
See TracChangeset
for help on using the changeset viewer.