Tests: Import a bunch of WPT tests from /dom/events

This commit is contained in:
Andreas Kling 2024-11-17 11:29:31 +01:00 committed by Andreas Kling
commit aa9ed71ff3
Notes: github-actions[bot] 2024-11-17 13:57:32 +00:00
125 changed files with 6002 additions and 0 deletions

View file

@ -0,0 +1,58 @@
Summary
Harness status: OK
Rerun
Found 48 tests
48 Pass
Details
Result Test Name MessagePass Set HTMLBodyElement.onblur
Pass Enumerate HTMLBodyElement.onblur
Pass Reflect HTMLBodyElement.onblur
Pass Forward HTMLBodyElement.onblur to Window
Pass Set HTMLFrameSetElement.onblur
Pass Enumerate HTMLFrameSetElement.onblur
Pass Reflect HTMLFrameSetElement.onblur
Pass Forward HTMLFrameSetElement.onblur to Window
Pass Set HTMLBodyElement.onerror
Pass Enumerate HTMLBodyElement.onerror
Pass Reflect HTMLBodyElement.onerror
Pass Forward HTMLBodyElement.onerror to Window
Pass Set HTMLFrameSetElement.onerror
Pass Enumerate HTMLFrameSetElement.onerror
Pass Reflect HTMLFrameSetElement.onerror
Pass Forward HTMLFrameSetElement.onerror to Window
Pass Set HTMLBodyElement.onfocus
Pass Enumerate HTMLBodyElement.onfocus
Pass Reflect HTMLBodyElement.onfocus
Pass Forward HTMLBodyElement.onfocus to Window
Pass Set HTMLFrameSetElement.onfocus
Pass Enumerate HTMLFrameSetElement.onfocus
Pass Reflect HTMLFrameSetElement.onfocus
Pass Forward HTMLFrameSetElement.onfocus to Window
Pass Set HTMLBodyElement.onload
Pass Enumerate HTMLBodyElement.onload
Pass Reflect HTMLBodyElement.onload
Pass Forward HTMLBodyElement.onload to Window
Pass Set HTMLFrameSetElement.onload
Pass Enumerate HTMLFrameSetElement.onload
Pass Reflect HTMLFrameSetElement.onload
Pass Forward HTMLFrameSetElement.onload to Window
Pass Set HTMLBodyElement.onscroll
Pass Enumerate HTMLBodyElement.onscroll
Pass Reflect HTMLBodyElement.onscroll
Pass Forward HTMLBodyElement.onscroll to Window
Pass Set HTMLFrameSetElement.onscroll
Pass Enumerate HTMLFrameSetElement.onscroll
Pass Reflect HTMLFrameSetElement.onscroll
Pass Forward HTMLFrameSetElement.onscroll to Window
Pass Set HTMLBodyElement.onresize
Pass Enumerate HTMLBodyElement.onresize
Pass Reflect HTMLBodyElement.onresize
Pass Forward HTMLBodyElement.onresize to Window
Pass Set HTMLFrameSetElement.onresize
Pass Enumerate HTMLFrameSetElement.onresize
Pass Reflect HTMLFrameSetElement.onresize
Pass Forward HTMLFrameSetElement.onresize to Window

View file

@ -0,0 +1,13 @@
Summary
Harness status: OK
Rerun
Found 3 tests
3 Pass
Details
Result Test Name MessagePass CustomEvent dispatching.
Pass First parameter to initCustomEvent should be mandatory.
Pass initCustomEvent's default parameter values.

View file

@ -0,0 +1,18 @@
Summary
Harness status: OK
Rerun
Found 8 tests
8 Pass
Details
Result Test Name MessagePass cancelBubble must be false when an event is initially created.
Pass Initializing an event must set cancelBubble to false.
Pass stopPropagation() must set cancelBubble to true.
Pass stopImmediatePropagation() must set cancelBubble to true.
Pass Event.cancelBubble=false must have no effect.
Pass Event.cancelBubble=false must have no effect during event propagation.
Pass cancelBubble must be false after an event has been dispatched.
Pass Event.cancelBubble=true must set the stop propagation flag.

View file

@ -0,0 +1,10 @@
Summary
Harness status: Error
Rerun
Found tests
Details
Result Test Name Message

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass Default prevention via preventDefault
Pass Default prevention via returnValue

View file

@ -0,0 +1,18 @@
Summary
Harness status: OK
Rerun
Found 8 tests
8 Pass
Details
Result Test Name MessagePass When an event is created, defaultPrevented should be initialized to false.
Pass initEvent should work correctly (not cancelable).
Pass preventDefault() should not change defaultPrevented if cancelable is false.
Pass returnValue should not change defaultPrevented if cancelable is false.
Pass initEvent should work correctly (cancelable).
Pass preventDefault() should change defaultPrevented if cancelable is true.
Pass returnValue should change defaultPrevented if cancelable is true.
Pass initEvent should unset defaultPrevented.

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Setting cancelBubble=true prior to dispatchEvent()

View file

@ -0,0 +1,16 @@
Summary
Harness status: OK
Rerun
Found 5 tests
4 Pass
1 Fail
Details
Result Test Name MessageFail In window.document with click event
Pass In window.document with load event
Pass In window.document.cloneNode(true)
Pass In new Document()
Pass In DOMImplementation.createHTMLDocument()

View file

@ -0,0 +1,16 @@
Summary
Harness status: OK
Rerun
Found 5 tests
4 Pass
1 Fail
Details
Result Test Name MessageFail In window.document with click event
Pass In window.document with load event
Pass In window.document.cloneNode(true)
Pass In new Document()
Pass In DOMImplementation.createHTMLDocument()

View file

@ -0,0 +1,17 @@
Summary
Harness status: OK
Rerun
Found 6 tests
4 Pass
2 Fail
Details
Result Test Name MessagePass disabled checkbox should not be checked from label click
Pass disabled radio should not be checked from label click
Pass disabled checkbox should not be checked from label click by dispatchEvent
Pass disabled radio should not be checked from label click by dispatchEvent
Fail checkbox morphed into another type should not mutate checked state
Fail radio morphed into another type should not steal the existing checked state

View file

@ -0,0 +1,44 @@
Summary
Harness status: OK
Rerun
Found 33 tests
30 Pass
3 Fail
Details
Result Test Name MessagePass basic with click()
Pass basic with dispatchEvent()
Pass basic with wrong event class
Pass look at parents only when event bubbles
Pass look at parents when event bubbles
Pass pick the first with activation behavior <input type=checkbox>
Pass pick the first with activation behavior <a href>
Pass pick the first with activation behavior <input type=radio>
Pass event state during post-click handling
Pass redispatch during post-click handling
Pass disabled checkbox still has activation behavior
Pass disabled checkbox still has activation behavior, part 2
Pass disabled radio still has activation behavior
Pass disconnected checkbox should be checked
Pass disconnected radio should be checked
Pass disconnected checkbox should be checked from dispatchEvent(new MouseEvent('click'))
Pass disconnected radio should be checked from dispatchEvent(new MouseEvent('click'))
Pass disabled checkbox should be checked from dispatchEvent(new MouseEvent("click"))
Pass disabled radio should be checked from dispatchEvent(new MouseEvent("click"))
Pass disabled checkbox should fire onclick
Pass disabled radio should fire onclick
Pass disabled checkbox should get legacy-canceled-activation behavior
Pass disabled radio should get legacy-canceled-activation behavior
Pass disabled checkbox should get legacy-canceled-activation behavior 2
Pass disabled radio should get legacy-canceled-activation behavior 2
Pass disabling checkbox in onclick listener shouldn't suppress oninput
Pass disabling checkbox in onclick listener shouldn't suppress onchange
Pass disabling radio in onclick listener shouldn't suppress oninput
Pass disabling radio in onclick listener shouldn't suppress onchange
Pass disconnected form should not submit
Fail disabled submit button should not activate
Fail submit button should not activate if the event listener disables it
Fail submit button that morphed from checkbox should not activate

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass Click event on an element not in the document
Pass Click event can be dispatched to an element that is not in the document.

View file

@ -0,0 +1,22 @@
Summary
Harness status: OK
Rerun
Found 12 tests
12 Pass
Details
Result Test Name MessagePass detached checkbox should not emit input or change events on click().
Pass detached radio should not emit input or change events on click().
Pass detached checkbox should not emit input or change events on dispatchEvent(new MouseEvent('click')).
Pass detached radio should not emit input or change events on dispatchEvent(new MouseEvent('click')).
Pass attached checkbox should emit input and change events on click().
Pass attached radio should emit input and change events on click().
Pass attached checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).
Pass attached radio should emit input and change events on dispatchEvent(new MouseEvent('click')).
Pass attached to shadow dom checkbox should emit input and change events on click().
Pass attached to shadow dom radio should emit input and change events on click().
Pass attached to shadow dom checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).
Pass attached to shadow dom radio should emit input and change events on dispatchEvent(new MouseEvent('click')).

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Dispatch additional events inside an event listener

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Multiple dispatchEvent() and cancelBubble

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Multiple dispatchEvent() and stopPropagation()

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail EventTarget.addEventListener with the capture argument omitted

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Listeners are invoked in correct order (AT_TARGET phase)

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Event phases order

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Custom event on an element in another document

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Calling stopPropagation() prior to dispatchEvent()

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Dispatch additional events inside an event listener

View file

@ -0,0 +1,143 @@
Summary
Harness status: OK
Rerun
Found 132 tests
103 Pass
29 Fail
Details
Result Test Name MessagePass When clicking child <INPUT type=checkbox></INPUT> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <A></A>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <INPUT type=checkbox></INPUT> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <A></A>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <INPUT type=radio></INPUT> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
Fail When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Fail When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <A></A>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
Fail When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Fail When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <A></A>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Fail When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <A></A>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
Fail When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Fail When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <A></A>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Fail When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <A></A>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <A></A> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <A></A> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <A></A> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <A></A> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <A></A> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <A></A> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <A></A> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <A></A> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <A></A> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <A></A> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <A></A> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <INPUT type=radio></INPUT>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <AREA></AREA> of parent <A></A>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Fail When clicking child <AREA></AREA> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <A></A>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Pass When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <INPUT type=radio></INPUT>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <A></A>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <AREA></AREA>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Fail When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <INPUT type=radio></INPUT>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <A></A>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <AREA></AREA>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
Pass When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Event propagation path when an element in it is moved within the DOM

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Event propagation path when an element in it is removed from the DOM

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Fail
Details
Result Test Name MessageFail exception thrown in event listener function should result in error event on listener's global
Fail exception thrown in event listener interface object should result in error event on listener's global

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass Throwing in event listener with a single listeners
Pass Throwing in event listener with multiple listeners

View file

@ -0,0 +1,16 @@
Summary
Harness status: OK
Rerun
Found 5 tests
4 Pass
1 Fail
Details
Result Test Name MessagePass Calling initKeyboardEvent while dispatching.
Pass Calling initMouseEvent while dispatching.
Pass Calling initCustomEvent while dispatching.
Fail Calling initUIEvent while dispatching. Not an object of type Window
Pass Calling initEvent while dispatching.

View file

@ -0,0 +1,22 @@
Summary
Harness status: OK
Rerun
Found 12 tests
12 Pass
Details
Result Test Name MessagePass Properties of initEvent(type, true, true)
Pass Properties of initEvent(type, true, false)
Pass Properties of initEvent(type, false, true)
Pass Properties of initEvent(type, false, false)
Pass Calling initEvent multiple times (getting type).
Pass Calling initEvent multiple times (not getting type).
Pass Calling initEvent must not have an effect during dispatching.
Pass Calling initEvent must unset the stop propagation flag.
Pass Calling initEvent must unset the stop immediate propagation flag.
Pass Calling initEvent during propagation.
Pass First parameter to initEvent should be mandatory.
Pass Tests initEvent's default parameter values.

View file

@ -0,0 +1,17 @@
Summary
Harness status: OK
Rerun
Found 7 tests
7 Pass
Details
Result Test Name MessagePass Newly-created Event
Pass After stopPropagation()
Pass Reinitialized after stopPropagation()
Pass After stopImmediatePropagation()
Pass Reinitialized after stopImmediatePropagation()
Pass After cancelBubble=true
Pass Reinitialized after cancelBubble=true

View file

@ -0,0 +1,17 @@
Summary
Harness status: OK
Rerun
Found 7 tests
7 Pass
Details
Result Test Name MessagePass When an event is created, returnValue should be initialized to true.
Pass preventDefault() should not change returnValue if cancelable is false.
Pass returnValue=false should have no effect if cancelable is false.
Pass preventDefault() should change returnValue if cancelable is true.
Pass returnValue should change returnValue if cancelable is true.
Pass initEvent should unset returnValue.
Pass returnValue=true should have no effect once the canceled flag was set.

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Event's stopImmediatePropagation

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Event-stopPropagation-cancel-bubbling

View file

@ -0,0 +1,60 @@
Summary
Harness status: OK
Rerun
Found 49 tests
43 Pass
6 Fail
Details
Result Test Name MessagePass Event constructor (no argument)
Pass Event constructor (undefined argument)
Pass Event constructor (null argument)
Pass Event constructor (empty argument)
Pass Event constructor (argument with default values)
Pass Event constructor (argument with non-default values)
Pass UIEvent constructor (no argument)
Pass UIEvent constructor (undefined argument)
Pass UIEvent constructor (null argument)
Pass UIEvent constructor (empty argument)
Pass UIEvent constructor (argument with default values)
Fail UIEvent constructor (argument with non-default values) Not an object of type Window
Pass FocusEvent constructor (no argument)
Pass FocusEvent constructor (undefined argument)
Pass FocusEvent constructor (null argument)
Pass FocusEvent constructor (empty argument)
Pass FocusEvent constructor (argument with default values)
Fail FocusEvent constructor (argument with non-default values) Not an object of type Window
Pass MouseEvent constructor (no argument)
Pass MouseEvent constructor (undefined argument)
Pass MouseEvent constructor (null argument)
Pass MouseEvent constructor (empty argument)
Pass MouseEvent constructor (argument with default values)
Fail MouseEvent constructor (argument with non-default values) Not an object of type Window
Pass WheelEvent constructor (no argument)
Pass WheelEvent constructor (undefined argument)
Pass WheelEvent constructor (null argument)
Pass WheelEvent constructor (empty argument)
Pass WheelEvent constructor (argument with default values)
Fail WheelEvent constructor (argument with non-default values) Not an object of type Window
Pass KeyboardEvent constructor (no argument)
Pass KeyboardEvent constructor (undefined argument)
Pass KeyboardEvent constructor (null argument)
Pass KeyboardEvent constructor (empty argument)
Pass KeyboardEvent constructor (argument with default values)
Fail KeyboardEvent constructor (argument with non-default values) Not an object of type Window
Pass CompositionEvent constructor (no argument)
Pass CompositionEvent constructor (undefined argument)
Pass CompositionEvent constructor (null argument)
Pass CompositionEvent constructor (empty argument)
Pass CompositionEvent constructor (argument with default values)
Fail CompositionEvent constructor (argument with non-default values) Not an object of type Window
Pass SubclassedEvent constructor (no argument)
Pass SubclassedEvent constructor (undefined argument)
Pass SubclassedEvent constructor (null argument)
Pass SubclassedEvent constructor (empty argument)
Pass SubclassedEvent constructor (argument with default values)
Pass SubclassedEvent constructor (argument with non-default values)
Pass UIEvent constructor (view argument with wrong type)

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass event.timeStamp is initialized using event's relevant global object

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Constructed GamepadEvent timestamp should be high resolution and have the same time origin as performance.now() undefined is not a constructor (evaluated from 'window[<computed>]')

View file

@ -0,0 +1,14 @@
Summary
Harness status: OK
Rerun
Found 4 tests
4 Pass
Details
Result Test Name MessagePass Constructed MouseEvent timestamp should be high resolution and have the same time origin as performance.now()
Pass Constructed KeyboardEvent timestamp should be high resolution and have the same time origin as performance.now()
Pass Constructed WheelEvent timestamp should be high resolution and have the same time origin as performance.now()
Pass Constructed FocusEvent timestamp should be high resolution and have the same time origin as performance.now()

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail Event timestamp should not have a resolution better than 5 microseconds

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass initEvent
Pass Constructor

View file

@ -0,0 +1,13 @@
Summary
Harness status: OK
Rerun
Found 3 tests
3 Pass
Details
Result Test Name MessagePass Event.type should initially be the empty string
Pass Event.type should be initialized by initEvent
Pass Event.type should be initialized by the constructor

View file

@ -0,0 +1,16 @@
Summary
Harness status: OK
Rerun
Found 6 tests
6 Pass
Details
Result Test Name MessagePass calls `handleEvent` method of `EventListener`
Pass performs `Get` every time event is dispatched
Pass doesn't call `handleEvent` method on callable `EventListener`
Pass rethrows errors when getting `handleEvent`
Pass throws if `handleEvent` is falsy and not callable
Pass throws if `handleEvent` is thruthy and not callable

View file

@ -0,0 +1,14 @@
Summary
Harness status: OK
Rerun
Found 4 tests
4 Pass
Details
Result Test Name MessagePass Capture boolean should be honored correctly
Pass Capture option should be honored correctly
Pass Supports capture option
Pass Equivalence of option values

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass addEventListener with a platform object

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass Return value of EventTarget.dispatchEvent() affected by preventDefault().
Pass Return value of EventTarget.dispatchEvent() affected by returnValue.

View file

@ -0,0 +1,35 @@
Summary
Harness status: OK
Rerun
Found 25 tests
25 Pass
Details
Result Test Name MessagePass Calling dispatchEvent(null).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (BeforeUnloadEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (CompositionEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceMotionEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceOrientationEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (DragEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (Event).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (Events).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (FocusEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (HashChangeEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (StorageEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (SVGEvents).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (TextEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent).
Pass If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents).
Pass If the event's dispatch flag is set, an InvalidStateError must be thrown.
Pass Exceptions from event listeners must not be propagated.
Pass Event listeners added during dispatch should be called
Pass Capturing event listeners should be called before non-capturing ones

View file

@ -0,0 +1,16 @@
Summary
Harness status: OK
Rerun
Found 6 tests
6 Pass
Details
Result Test Name MessagePass the this value inside the event listener callback should be the node
Pass the this value inside the event listener object handleEvent should be the object
Pass dispatchEvent should invoke the current handleEvent method of the object
Pass addEventListener should not require handleEvent to be defined on object listeners
Pass handleEvent properties added to a function before addEventListener are not reached
Pass handleEvent properties added to a function after addEventListener are not reached

View file

@ -0,0 +1,13 @@
Summary
Harness status: OK
Rerun
Found 3 tests
3 Pass
Details
Result Test Name MessagePass KeyboardEvent.initKeyEvent shouldn't be defined (created by createEvent("KeyboardEvent")
Pass KeyboardEvent.initKeyEvent shouldn't be defined (created by constructor)
Pass KeyboardEvent.prototype.initKeyEvent shouldn't be defined

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass disabled is honored properly in presence of dynamic changes

View file

@ -0,0 +1,19 @@
Summary
Harness status: OK
Rerun
Found 8 tests
7 Pass
1 Fail
Details
Result Test Name MessagePass event exists on window, which is initially set to undefined
Pass window.event is only defined during dispatch
Pass window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)
Pass window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)
Fail window.event is undefined inside window.onerror if the target is in a shadow tree (ErrorEvent dispatched inside shadow tree)
Pass window.event is set to the current event during dispatch
Pass window.event is set to the current event, which is the event passed to dispatch
Pass window.event is set to the current event, which is the event passed to dispatch (2)

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Fail
Details
Result Test Name MessageFail offsetX is correctly adjusted

View file

@ -0,0 +1,111 @@
Summary
Harness status: OK
Rerun
Found 100 tests
68 Pass
32 Fail
Details
Result Test Name MessageFail touchstart listener is passive by default for Window
Fail touchstart listener is passive with {passive:undefined} for Window
Pass touchstart listener is non-passive with {passive:false} for Window
Pass touchstart listener is passive with {passive:true} for Window
Fail touchstart listener is passive by default for HTMLDocument
Fail touchstart listener is passive with {passive:undefined} for HTMLDocument
Pass touchstart listener is non-passive with {passive:false} for HTMLDocument
Pass touchstart listener is passive with {passive:true} for HTMLDocument
Fail touchstart listener is passive by default for HTMLHtmlElement
Fail touchstart listener is passive with {passive:undefined} for HTMLHtmlElement
Pass touchstart listener is non-passive with {passive:false} for HTMLHtmlElement
Pass touchstart listener is passive with {passive:true} for HTMLHtmlElement
Fail touchstart listener is passive by default for HTMLBodyElement
Fail touchstart listener is passive with {passive:undefined} for HTMLBodyElement
Pass touchstart listener is non-passive with {passive:false} for HTMLBodyElement
Pass touchstart listener is passive with {passive:true} for HTMLBodyElement
Pass touchstart listener is non-passive by default for HTMLDivElement
Pass touchstart listener is non-passive with {passive:undefined} for HTMLDivElement
Pass touchstart listener is non-passive with {passive:false} for HTMLDivElement
Pass touchstart listener is passive with {passive:true} for HTMLDivElement
Fail touchmove listener is passive by default for Window
Fail touchmove listener is passive with {passive:undefined} for Window
Pass touchmove listener is non-passive with {passive:false} for Window
Pass touchmove listener is passive with {passive:true} for Window
Fail touchmove listener is passive by default for HTMLDocument
Fail touchmove listener is passive with {passive:undefined} for HTMLDocument
Pass touchmove listener is non-passive with {passive:false} for HTMLDocument
Pass touchmove listener is passive with {passive:true} for HTMLDocument
Fail touchmove listener is passive by default for HTMLHtmlElement
Fail touchmove listener is passive with {passive:undefined} for HTMLHtmlElement
Pass touchmove listener is non-passive with {passive:false} for HTMLHtmlElement
Pass touchmove listener is passive with {passive:true} for HTMLHtmlElement
Fail touchmove listener is passive by default for HTMLBodyElement
Fail touchmove listener is passive with {passive:undefined} for HTMLBodyElement
Pass touchmove listener is non-passive with {passive:false} for HTMLBodyElement
Pass touchmove listener is passive with {passive:true} for HTMLBodyElement
Pass touchmove listener is non-passive by default for HTMLDivElement
Pass touchmove listener is non-passive with {passive:undefined} for HTMLDivElement
Pass touchmove listener is non-passive with {passive:false} for HTMLDivElement
Pass touchmove listener is passive with {passive:true} for HTMLDivElement
Fail wheel listener is passive by default for Window
Fail wheel listener is passive with {passive:undefined} for Window
Pass wheel listener is non-passive with {passive:false} for Window
Pass wheel listener is passive with {passive:true} for Window
Fail wheel listener is passive by default for HTMLDocument
Fail wheel listener is passive with {passive:undefined} for HTMLDocument
Pass wheel listener is non-passive with {passive:false} for HTMLDocument
Pass wheel listener is passive with {passive:true} for HTMLDocument
Fail wheel listener is passive by default for HTMLHtmlElement
Fail wheel listener is passive with {passive:undefined} for HTMLHtmlElement
Pass wheel listener is non-passive with {passive:false} for HTMLHtmlElement
Pass wheel listener is passive with {passive:true} for HTMLHtmlElement
Fail wheel listener is passive by default for HTMLBodyElement
Fail wheel listener is passive with {passive:undefined} for HTMLBodyElement
Pass wheel listener is non-passive with {passive:false} for HTMLBodyElement
Pass wheel listener is passive with {passive:true} for HTMLBodyElement
Pass wheel listener is non-passive by default for HTMLDivElement
Pass wheel listener is non-passive with {passive:undefined} for HTMLDivElement
Pass wheel listener is non-passive with {passive:false} for HTMLDivElement
Pass wheel listener is passive with {passive:true} for HTMLDivElement
Fail mousewheel listener is passive by default for Window
Fail mousewheel listener is passive with {passive:undefined} for Window
Pass mousewheel listener is non-passive with {passive:false} for Window
Pass mousewheel listener is passive with {passive:true} for Window
Fail mousewheel listener is passive by default for HTMLDocument
Fail mousewheel listener is passive with {passive:undefined} for HTMLDocument
Pass mousewheel listener is non-passive with {passive:false} for HTMLDocument
Pass mousewheel listener is passive with {passive:true} for HTMLDocument
Fail mousewheel listener is passive by default for HTMLHtmlElement
Fail mousewheel listener is passive with {passive:undefined} for HTMLHtmlElement
Pass mousewheel listener is non-passive with {passive:false} for HTMLHtmlElement
Pass mousewheel listener is passive with {passive:true} for HTMLHtmlElement
Fail mousewheel listener is passive by default for HTMLBodyElement
Fail mousewheel listener is passive with {passive:undefined} for HTMLBodyElement
Pass mousewheel listener is non-passive with {passive:false} for HTMLBodyElement
Pass mousewheel listener is passive with {passive:true} for HTMLBodyElement
Pass mousewheel listener is non-passive by default for HTMLDivElement
Pass mousewheel listener is non-passive with {passive:undefined} for HTMLDivElement
Pass mousewheel listener is non-passive with {passive:false} for HTMLDivElement
Pass mousewheel listener is passive with {passive:true} for HTMLDivElement
Pass touchend listener is non-passive by default for Window
Pass touchend listener is non-passive with {passive:undefined} for Window
Pass touchend listener is non-passive with {passive:false} for Window
Pass touchend listener is passive with {passive:true} for Window
Pass touchend listener is non-passive by default for HTMLDocument
Pass touchend listener is non-passive with {passive:undefined} for HTMLDocument
Pass touchend listener is non-passive with {passive:false} for HTMLDocument
Pass touchend listener is passive with {passive:true} for HTMLDocument
Pass touchend listener is non-passive by default for HTMLHtmlElement
Pass touchend listener is non-passive with {passive:undefined} for HTMLHtmlElement
Pass touchend listener is non-passive with {passive:false} for HTMLHtmlElement
Pass touchend listener is passive with {passive:true} for HTMLHtmlElement
Pass touchend listener is non-passive by default for HTMLBodyElement
Pass touchend listener is non-passive with {passive:undefined} for HTMLBodyElement
Pass touchend listener is non-passive with {passive:false} for HTMLBodyElement
Pass touchend listener is passive with {passive:true} for HTMLBodyElement
Pass touchend listener is non-passive by default for HTMLDivElement
Pass touchend listener is non-passive with {passive:undefined} for HTMLDivElement
Pass touchend listener is non-passive with {passive:false} for HTMLDivElement
Pass touchend listener is passive with {passive:true} for HTMLDivElement

View file

@ -0,0 +1,11 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass behavior of preventDefault during activation behavior

View file

@ -0,0 +1,13 @@
Summary
Harness status: OK
Rerun
Found 2 tests
1 Pass
1 Fail
Details
Result Test Name MessagePass Removing all listeners and then adding a new one should work.
Fail Nested usage of once listeners should work.

View file

@ -0,0 +1,12 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Fail
Details
Result Test Name MessageFail relatedTarget should not leak at capturing phase, at window object.
Fail relatedTarget should not leak at target.