16.3dom/events/
766 / 771 WPT subtests passing
- Failed
- 5
- Timed out
- 0
- Not run
- 0
- Test files
- 102
- Blocking files
- 0
Chrome 751 / 771 WPT subtests passing on the same files, 1 blocking, 2 without a result
Tests
102 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
AddEventListenerOptions-once.any.js 8 / 8 passingChrome 8 / 80 failedClean
/dom/events/AddEventListenerOptions-once.any.html OK 4 / 4
4 passing subtests
- Once listener should be invoked only once
- Once listener should be invoked only once even if the event is nested
- Once listener should be added / removed like normal listeners
- Multiple once listeners should be invoked even if the stopImmediatePropagation is set
/dom/events/AddEventListenerOptions-once.any.worker.html OK 4 / 4
4 passing subtests
- Once listener should be invoked only once
- Once listener should be invoked only once even if the event is nested
- Once listener should be added / removed like normal listeners
- Multiple once listeners should be invoked even if the stopImmediatePropagation is set
AddEventListenerOptions-passive.any.js 10 / 10 passingChrome 10 / 100 failedClean
/dom/events/AddEventListenerOptions-passive.any.html OK 5 / 5
5 passing subtests
- Supports passive option on addEventListener only
- preventDefault should be ignored if-and-only-if the passive option is true
- returnValue should be ignored if-and-only-if the passive option is true
- passive behavior of one listener should be unaffected by the presence of other listeners
- Equivalence of option values
/dom/events/AddEventListenerOptions-passive.any.worker.html OK 5 / 5
5 passing subtests
- Supports passive option on addEventListener only
- preventDefault should be ignored if-and-only-if the passive option is true
- returnValue should be ignored if-and-only-if the passive option is true
- passive behavior of one listener should be unaffected by the presence of other listeners
- Equivalence of option values
AddEventListenerOptions-signal.any.js 22 / 22 passingChrome 22 / 220 failedClean
/dom/events/AddEventListenerOptions-signal.any.html OK 11 / 11
11 passing subtests
- Passing an AbortSignal to addEventListener options should allow removing a listener
- Passing an AbortSignal to addEventListener does not prevent removeEventListener
- Passing an AbortSignal to addEventListener works with the once flag
- Removing a once listener works with a passed signal
- Passing an AbortSignal to multiple listeners
- Passing an AbortSignal to addEventListener works with the capture flag
- Aborting from a listener does not call future listeners
- Adding then aborting a listener in another listener does not call it
- Aborting from a nested listener should remove it
- Passing null as the signal should throw
- Passing null as the signal should throw (listener is also null)
/dom/events/AddEventListenerOptions-signal.any.worker.html OK 11 / 11
11 passing subtests
- Passing an AbortSignal to addEventListener options should allow removing a listener
- Passing an AbortSignal to addEventListener does not prevent removeEventListener
- Passing an AbortSignal to addEventListener works with the once flag
- Removing a once listener works with a passed signal
- Passing an AbortSignal to multiple listeners
- Passing an AbortSignal to addEventListener works with the capture flag
- Aborting from a listener does not call future listeners
- Adding then aborting a listener in another listener does not call it
- Aborting from a nested listener should remove it
- Passing null as the signal should throw
- Passing null as the signal should throw (listener is also null)
Body-FrameSet-Event-Handlers.html 48 / 48 passingChrome 48 / 480 failedClean
48 passing subtests
- Set HTMLBodyElement.onblur
- Enumerate HTMLBodyElement.onblur
- Reflect HTMLBodyElement.onblur
- Forward HTMLBodyElement.onblur to Window
- Set HTMLFrameSetElement.onblur
- Enumerate HTMLFrameSetElement.onblur
- Reflect HTMLFrameSetElement.onblur
- Forward HTMLFrameSetElement.onblur to Window
- Set HTMLBodyElement.onerror
- Enumerate HTMLBodyElement.onerror
- Reflect HTMLBodyElement.onerror
- Forward HTMLBodyElement.onerror to Window
- Set HTMLFrameSetElement.onerror
- Enumerate HTMLFrameSetElement.onerror
- Reflect HTMLFrameSetElement.onerror
- Forward HTMLFrameSetElement.onerror to Window
- Set HTMLBodyElement.onfocus
- Enumerate HTMLBodyElement.onfocus
- Reflect HTMLBodyElement.onfocus
- Forward HTMLBodyElement.onfocus to Window
- Set HTMLFrameSetElement.onfocus
- Enumerate HTMLFrameSetElement.onfocus
- Reflect HTMLFrameSetElement.onfocus
- Forward HTMLFrameSetElement.onfocus to Window
- Set HTMLBodyElement.onload
- Enumerate HTMLBodyElement.onload
- Reflect HTMLBodyElement.onload
- Forward HTMLBodyElement.onload to Window
- Set HTMLFrameSetElement.onload
- Enumerate HTMLFrameSetElement.onload
- Reflect HTMLFrameSetElement.onload
- Forward HTMLFrameSetElement.onload to Window
- Set HTMLBodyElement.onscroll
- Enumerate HTMLBodyElement.onscroll
- Reflect HTMLBodyElement.onscroll
- Forward HTMLBodyElement.onscroll to Window
- Set HTMLFrameSetElement.onscroll
- Enumerate HTMLFrameSetElement.onscroll
- Reflect HTMLFrameSetElement.onscroll
- Forward HTMLFrameSetElement.onscroll to Window
- Set HTMLBodyElement.onresize
- Enumerate HTMLBodyElement.onresize
- Reflect HTMLBodyElement.onresize
- Forward HTMLBodyElement.onresize to Window
- Set HTMLFrameSetElement.onresize
- Enumerate HTMLFrameSetElement.onresize
- Reflect HTMLFrameSetElement.onresize
- Forward HTMLFrameSetElement.onresize to Window
CustomEvent.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- CustomEvent dispatching.
- First parameter to initCustomEvent should be mandatory.
- initCustomEvent's default parameter values.
Event-cancelBubble.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- cancelBubble must be false when an event is initially created.
- Initializing an event must set cancelBubble to false.
- stopPropagation() must set cancelBubble to true.
- stopImmediatePropagation() must set cancelBubble to true.
- Event.cancelBubble=false must have no effect.
- Event.cancelBubble=false must have no effect during event propagation.
- cancelBubble must be false after an event has been dispatched.
- Event.cancelBubble=true must set the stop propagation flag.
Event-constants.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Constants for eventPhase on Event interface object.
- Constants for eventPhase on Event prototype object.
- Constants for eventPhase on Event object.
- Constants for eventPhase on CustomEvent object.
Event-constructors.any.js 28 / 28 passingChrome 28 / 280 failedClean
/dom/events/Event-constructors.any.html OK 14 / 14
14 passing subtests
- Event constructors
- Event constructors 1
- Event constructors 2
- Event constructors 3
- Event constructors 4
- Event constructors 5
- Event constructors 6
- Event constructors 7
- Event constructors 8
- Event constructors 9
- Event constructors 10
- Event constructors 11
- Event constructors 12
- Event constructors 13
/dom/events/Event-constructors.any.worker.html OK 14 / 14
14 passing subtests
- Event constructors
- Event constructors 1
- Event constructors 2
- Event constructors 3
- Event constructors 4
- Event constructors 5
- Event constructors 6
- Event constructors 7
- Event constructors 8
- Event constructors 9
- Event constructors 10
- Event constructors 11
- Event constructors 12
- Event constructors 13
Event-defaultPrevented-after-dispatch.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Default prevention via preventDefault
- Default prevention via returnValue
Event-defaultPrevented.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- When an event is created, defaultPrevented should be initialized to false.
- initEvent should work correctly (not cancelable).
- preventDefault() should not change defaultPrevented if cancelable is false.
- returnValue should not change defaultPrevented if cancelable is false.
- initEvent should work correctly (cancelable).
- preventDefault() should change defaultPrevented if cancelable is true.
- returnValue should change defaultPrevented if cancelable is true.
- initEvent should unset defaultPrevented.
Event-dispatch-bubble-canceled.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting cancelBubble=true prior to dispatchEvent()
Event-dispatch-bubbles-false.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- In window.document with click event
- In window.document with load event
- In window.document.cloneNode(true)
- In new Document()
- In DOMImplementation.createHTMLDocument()
Event-dispatch-bubbles-true.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- In window.document with click event
- In window.document with load event
- In window.document.cloneNode(true)
- In new Document()
- In DOMImplementation.createHTMLDocument()
Event-dispatch-click.html 33 / 33 passingChrome 33 / 330 failedClean
33 passing subtests
- basic with click()
- basic with dispatchEvent()
- basic with wrong event class
- look at parents only when event bubbles
- look at parents when event bubbles
- pick the first with activation behavior <input type=checkbox>
- pick the first with activation behavior <a href>
- pick the first with activation behavior <input type=radio>
- event state during post-click handling
- redispatch during post-click handling
- disabled checkbox still has activation behavior
- disabled checkbox still has activation behavior, part 2
- disabled radio still has activation behavior
- disconnected checkbox should be checked
- disconnected radio should be checked
- disconnected checkbox should be checked from dispatchEvent(new MouseEvent('click'))
- disconnected radio should be checked from dispatchEvent(new MouseEvent('click'))
- disabled checkbox should be checked from dispatchEvent(new MouseEvent("click"))
- disabled radio should be checked from dispatchEvent(new MouseEvent("click"))
- disabled checkbox should fire onclick
- disabled radio should fire onclick
- disabled checkbox should get legacy-canceled-activation behavior
- disabled radio should get legacy-canceled-activation behavior
- disabled checkbox should get legacy-canceled-activation behavior 2
- disabled radio should get legacy-canceled-activation behavior 2
- disabling checkbox in onclick listener shouldn't suppress oninput
- disabling checkbox in onclick listener shouldn't suppress onchange
- disabling radio in onclick listener shouldn't suppress oninput
- disabling radio in onclick listener shouldn't suppress onchange
- disconnected form should not submit
- disabled submit button should not activate
- submit button should not activate if the event listener disables it
- submit button that morphed from checkbox should not activate
Event-dispatch-detached-click.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Click event on an element not in the document
- Click event can be dispatched to an element that is not in the document.
Event-dispatch-detached-input-and-change.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- detached checkbox should not emit input or change events on click().
- detached radio should not emit input or change events on click().
- detached checkbox should not emit input or change events on dispatchEvent(new MouseEvent('click')).
- detached radio should not emit input or change events on dispatchEvent(new MouseEvent('click')).
- attached checkbox should emit input and change events on click().
- attached radio should emit input and change events on click().
- attached checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).
- attached radio should emit input and change events on dispatchEvent(new MouseEvent('click')).
- attached to shadow dom checkbox should emit input and change events on click().
- attached to shadow dom radio should emit input and change events on click().
- attached to shadow dom checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).
- attached to shadow dom radio should emit input and change events on dispatchEvent(new MouseEvent('click')).
Event-dispatch-handlers-changed.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dispatch additional events inside an event listener
Event-dispatch-listener-order.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event-dispatch-listener-order
Event-dispatch-multiple-cancelBubble.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple dispatchEvent() and cancelBubble
Event-dispatch-multiple-stopPropagation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple dispatchEvent() and stopPropagation()
Event-dispatch-omitted-capture.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- EventTarget.addEventListener with the capture argument omitted
Event-dispatch-on-disabled-elements.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Can dispatch untrusted 'click' Events at disabled HTML elements.
- Can dispatch untrusted Events at disabled HTML elements.
- Can dispatch CustomEvents at disabled HTML elements.
- Calling click() on disabled elements must not dispatch events.
- CSS Transitions transitionrun, transitionstart, transitionend events fire on disabled form elements
- CSS Transitions transitioncancel event fires on disabled form elements
- CSS Animation animationstart, animationiteration, animationend fire on disabled form elements
- CSS Animation's animationcancel event fires on disabled form elements
- Real clicks on disabled elements must not dispatch events.
Event-dispatch-order-at-target.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Listeners are invoked in correct order (AT_TARGET phase)
Event-dispatch-order.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event phases order
Event-dispatch-other-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Custom event on an element in another document
Event-dispatch-propagation-stopped.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Calling stopPropagation() prior to dispatchEvent()
Event-dispatch-redispatch.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Redispatching DOMContentLoaded event after being dispatched
- Redispatching mouseup event whose default action dispatches a click event
- Redispatching event which is being dispatched
- Synthesizing click on button...
Event-dispatch-reenter.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dispatch additional events inside an event listener
Event-dispatch-single-activation-behavior.html 132 / 132 passingChrome 125 / 1320 failedClean
132 passing subtests
- When clicking child <INPUT type=checkbox></INPUT> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <A></A>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <AREA></AREA>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <INPUT type=checkbox></INPUT> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <A></A>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <AREA></AREA>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <INPUT type=radio></INPUT> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <A></A>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=submit></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <A></A>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=image></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <A></A>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <AREA></AREA>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <FORM><INPUT type=reset></INPUT></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <A></A>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <AREA></AREA>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <FORM><BUTTON type=submit></BUTTON></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <A></A>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <AREA></AREA>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <FORM><BUTTON type=reset></BUTTON></FORM> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <A></A> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <A></A> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <A></A> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <A></A> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <A></A> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <A></A> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <A></A> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <A></A> of parent <AREA></AREA>, only child should be activated.
- When clicking child <A></A> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <A></A> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <A></A> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <AREA></AREA> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <AREA></AREA> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <AREA></AREA> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <AREA></AREA> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <AREA></AREA> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <AREA></AREA> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <AREA></AREA> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <AREA></AREA> of parent <A></A>, only child should be activated.
- When clicking child <AREA></AREA> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <AREA></AREA> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <AREA></AREA> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <A></A>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <AREA></AREA>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
- When clicking child <DETAILS><SUMMARY></SUMMARY></DETAILS> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <A></A>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <AREA></AREA>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL> of parent <LABEL><BUTTON type=button></BUTTON></LABEL>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <INPUT type=checkbox></INPUT>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <INPUT type=radio></INPUT>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=submit></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=image></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><INPUT type=reset></INPUT></FORM>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><BUTTON type=submit></BUTTON></FORM>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <FORM><BUTTON type=reset></BUTTON></FORM>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <A></A>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <AREA></AREA>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <DETAILS><SUMMARY></SUMMARY></DETAILS>, only child should be activated.
- When clicking child <LABEL><BUTTON type=button></BUTTON></LABEL> of parent <LABEL><INPUT type=checkbox></INPUT><SPAN></SPAN></LABEL>, only child should be activated.
Event-dispatch-target-moved.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event propagation path when an element in it is moved within the DOM
Event-dispatch-target-removed.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event propagation path when an element in it is removed from the DOM
Event-dispatch-throwing-multiple-globals.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- exception thrown in event listener function should result in error event on listener's global
- exception thrown in event listener interface object should result in error event on listener's global
Event-dispatch-throwing.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Throwing in event listener with a single listeners
- Throwing in event listener with multiple listeners
Event-init-while-dispatching.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Calling initKeyboardEvent while dispatching.
- Calling initMouseEvent while dispatching.
- Calling initCustomEvent while dispatching.
- Calling initUIEvent while dispatching.
- Calling initEvent while dispatching.
Event-initEvent.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Properties of initEvent(type, true, true)
- Properties of initEvent(type, true, false)
- Properties of initEvent(type, false, true)
- Properties of initEvent(type, false, false)
- Calling initEvent multiple times (getting type).
- Calling initEvent multiple times (not getting type).
- Calling initEvent must not have an effect during dispatching.
- Calling initEvent must unset the stop propagation flag.
- Calling initEvent must unset the stop immediate propagation flag.
- Calling initEvent during propagation.
- First parameter to initEvent should be mandatory.
- Tests initEvent's default parameter values.
Event-isTrusted.any.js 2 / 2 passingChrome 2 / 20 failedClean
/dom/events/Event-isTrusted.any.html OK 1 / 1
1 passing subtest
- Event-isTrusted
/dom/events/Event-isTrusted.any.worker.html OK 1 / 1
1 passing subtest
- Event-isTrusted
Event-propagation.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Newly-created Event
- After stopPropagation()
- Reinitialized after stopPropagation()
- After stopImmediatePropagation()
- Reinitialized after stopImmediatePropagation()
- After cancelBubble=true
- Reinitialized after cancelBubble=true
Event-returnValue.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- When an event is created, returnValue should be initialized to true.
- preventDefault() should not change returnValue if cancelable is false.
- returnValue=false should have no effect if cancelable is false.
- preventDefault() should change returnValue if cancelable is true.
- returnValue should change returnValue if cancelable is true.
- initEvent should unset returnValue.
- returnValue=true should have no effect once the canceled flag was set.
Event-stopImmediatePropagation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event's stopImmediatePropagation
Event-stopPropagation-cancel-bubbling.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event-stopPropagation-cancel-bubbling
Event-subclasses-constructors.html 49 / 49 passingChrome 49 / 490 failedClean
49 passing subtests
- Event constructor (no argument)
- Event constructor (undefined argument)
- Event constructor (null argument)
- Event constructor (empty argument)
- Event constructor (argument with default values)
- Event constructor (argument with non-default values)
- UIEvent constructor (no argument)
- UIEvent constructor (undefined argument)
- UIEvent constructor (null argument)
- UIEvent constructor (empty argument)
- UIEvent constructor (argument with default values)
- UIEvent constructor (argument with non-default values)
- FocusEvent constructor (no argument)
- FocusEvent constructor (undefined argument)
- FocusEvent constructor (null argument)
- FocusEvent constructor (empty argument)
- FocusEvent constructor (argument with default values)
- FocusEvent constructor (argument with non-default values)
- MouseEvent constructor (no argument)
- MouseEvent constructor (undefined argument)
- MouseEvent constructor (null argument)
- MouseEvent constructor (empty argument)
- MouseEvent constructor (argument with default values)
- MouseEvent constructor (argument with non-default values)
- WheelEvent constructor (no argument)
- WheelEvent constructor (undefined argument)
- WheelEvent constructor (null argument)
- WheelEvent constructor (empty argument)
- WheelEvent constructor (argument with default values)
- WheelEvent constructor (argument with non-default values)
- KeyboardEvent constructor (no argument)
- KeyboardEvent constructor (undefined argument)
- KeyboardEvent constructor (null argument)
- KeyboardEvent constructor (empty argument)
- KeyboardEvent constructor (argument with default values)
- KeyboardEvent constructor (argument with non-default values)
- CompositionEvent constructor (no argument)
- CompositionEvent constructor (undefined argument)
- CompositionEvent constructor (null argument)
- CompositionEvent constructor (empty argument)
- CompositionEvent constructor (argument with default values)
- CompositionEvent constructor (argument with non-default values)
- SubclassedEvent constructor (no argument)
- SubclassedEvent constructor (undefined argument)
- SubclassedEvent constructor (null argument)
- SubclassedEvent constructor (empty argument)
- SubclassedEvent constructor (argument with default values)
- SubclassedEvent constructor (argument with non-default values)
- UIEvent constructor (view argument with wrong type)
Event-timestamp-cross-realm-getter.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.timeStamp is initialized using event's relevant global object
Event-timestamp-high-resolution.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Constructed MouseEvent timestamp should be high resolution and have the same time origin as performance.now()
- Constructed KeyboardEvent timestamp should be high resolution and have the same time origin as performance.now()
- Constructed WheelEvent timestamp should be high resolution and have the same time origin as performance.now()
- Constructed FocusEvent timestamp should be high resolution and have the same time origin as performance.now()
Event-timestamp-high-resolution.https.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Constructed GamepadEvent timestamp should be high resolution and have the same time origin as performance.now()
Event-timestamp-safe-resolution.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event timestamp should not have a resolution better than 5 microseconds
Event-type-empty.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- initEvent
- Constructor
Event-type.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Event.type should initially be the empty string
- Event.type should be initialized by initEvent
- Event.type should be initialized by the constructor
EventListener-addEventListener.sub.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- EventListener.addEventListener doesn't throw when a cross origin object is passed in.
EventListener-handleEvent-cross-realm.html 5 / 5 passingChrome 2 / 50 failedClean
5 passing subtests
- EventListener is cross-realm plain object without 'handleEvent' property
- EventListener is cross-realm plain object with non-callable 'handleEvent' property
- EventListener is cross-realm plain object with revoked Proxy as 'handleEvent' property
- EventListener is cross-realm non-callable revoked Proxy
- EventListener is cross-realm callable revoked Proxy
EventListener-handleEvent.html 6 / 6 passingChrome 4 / 60 failedClean
6 passing subtests
- calls `handleEvent` method of `EventListener`
- performs `Get` every time event is dispatched
- doesn't call `handleEvent` method on callable `EventListener`
- rethrows errors when getting `handleEvent`
- throws if `handleEvent` is falsy and not callable
- throws if `handleEvent` is thruthy and not callable
EventListener-incumbent-global-1.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check the incumbent global EventListeners are called with
EventListener-incumbent-global-2.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check the incumbent global EventListeners are called with
EventListener-invoke-legacy.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Listener of transitionend
- Legacy listener of transitionend
- Listener of animationend
- Legacy listener of animationend
- Listener of animationstart
- Legacy listener of animationstart
EventListenerOptions-capture.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Capture boolean should be honored correctly
- Capture option should be honored correctly
- Supports capture option
- Equivalence of option values
EventTarget-add-listener-platform-object.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- addEventListener with a platform object
EventTarget-add-remove-listener.any.js 2 / 2 passingChrome 2 / 20 failedClean
/dom/events/EventTarget-add-remove-listener.any.html OK 1 / 1
1 passing subtest
- Removing an event listener without explicit capture arg should succeed
/dom/events/EventTarget-add-remove-listener.any.worker.html OK 1 / 1
1 passing subtest
- Removing an event listener without explicit capture arg should succeed
EventTarget-addEventListener.any.js 2 / 2 passingChrome 2 / 20 failedClean
/dom/events/EventTarget-addEventListener.any.html OK 1 / 1
1 passing subtest
- Adding a null event listener should succeed
/dom/events/EventTarget-addEventListener.any.worker.html OK 1 / 1
1 passing subtest
- Adding a null event listener should succeed
EventTarget-constructible.any.js 6 / 6 passingChrome 6 / 60 failedClean
/dom/events/EventTarget-constructible.any.html OK 3 / 3
3 passing subtests
- A constructed EventTarget can be used as expected
- A constructed EventTarget implements dispatch correctly
- EventTarget can be subclassed
/dom/events/EventTarget-constructible.any.worker.html OK 3 / 3
3 passing subtests
- A constructed EventTarget can be used as expected
- A constructed EventTarget implements dispatch correctly
- EventTarget can be subclassed
EventTarget-dispatchEvent-returnvalue.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Return value of EventTarget.dispatchEvent() affected by preventDefault().
- Return value of EventTarget.dispatchEvent() affected by returnValue.
EventTarget-dispatchEvent.html 25 / 25 passingChrome 25 / 250 failedClean
25 passing subtests
- Calling dispatchEvent(null).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (BeforeUnloadEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (CompositionEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceMotionEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceOrientationEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (DragEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (Event).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (Events).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (FocusEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (HashChangeEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (StorageEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (SVGEvents).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (TextEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent).
- If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents).
- If the event's dispatch flag is set, an InvalidStateError must be thrown.
- Exceptions from event listeners must not be propagated.
- Event listeners added during dispatch should be called
- Capturing event listeners should be called before non-capturing ones
EventTarget-removeEventListener.any.js 2 / 2 passingChrome 2 / 20 failedClean
/dom/events/EventTarget-removeEventListener.any.html OK 1 / 1
1 passing subtest
- removing a null event listener should succeed
/dom/events/EventTarget-removeEventListener.any.worker.html OK 1 / 1
1 passing subtest
- removing a null event listener should succeed
EventTarget-this-of-listener.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- the this value inside the event listener callback should be the node
- the this value inside the event listener object handleEvent should be the object
- dispatchEvent should invoke the current handleEvent method of the object
- addEventListener should not require handleEvent to be defined on object listeners
- handleEvent properties added to a function before addEventListener are not reached
- handleEvent properties added to a function after addEventListener are not reached
EventTarget-window-constructor.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Modifying window.constructor does not affect event dispatch
KeyEvent-initKeyEvent.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- KeyboardEvent.initKeyEvent shouldn't be defined (created by createEvent("KeyboardEvent")
- KeyboardEvent.initKeyEvent shouldn't be defined (created by constructor)
- KeyboardEvent.prototype.initKeyEvent shouldn't be defined
click-on-absolute-pseudo.html 0 / 1 passingChrome 1 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
Crane has no Event.pseudoTarget - no specification defines it (not in DOM, UI Events, CSSOM, or CSS Pseudo-Elements 4 or 5 at their current sources, 2026-11-18) - as Firefox and Safari have none: the subtest fails at the same assertion in all three ("pseudoTarget should be null since the pseudo-element was removed before click dispatch expected (object) null but got (undefined) undefined"); only Chrome ships it
- Crane matches
- Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Ruling
- no specification; only Chrome ships it (the integrator, 2026-11-18 4:00 PM ET; lane dom1)
- Revisit
- when a specification defines Event.pseudoTarget, or Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILClick on pseudo-element that disappears on mousedown
assert_equals: pseudoTarget should be null since the pseudo-element was removed before click dispatch expected (object) null but got (undefined) undefined
element-click.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- static querySelectorAll
- dynamic querySelectorAll, toggle sync
- dynamic querySelectorAll, toggle async
event-disabled-dynamic.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- disabled is honored properly in presence of dynamic changes
event-global-event-targets.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- window.event is set when dispatching on EventTarget
- window.event is set when dispatching on AbortSignal
- window.event is set when dispatching on FileReader
- window.event is set when dispatching on Performance
- An event target's _document property does not affect window.event
event-global-extra.window.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- window.event for constructors from another global: EventTarget
- window.event for constructors from another global: XMLHttpRequest
- window.event and element from another document
- window.event and moving an element post-dispatch
- window.event should not be affected by nodes moving post-dispatch
- Listener from a different global
event-global-is-still-set-when-coercing-beforeunload-result.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.event is still set when 'beforeunload' result is coerced to string
event-global-is-still-set-when-reporting-exception-onerror.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.onerror handler restores window.event after it reports an exception
event-global-replaceable.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Setting window.event replaces it
- Dispatching does not affect window.event after it's been replaced
event-global-set-before-handleEvent-lookup.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.event is set before 'handleEvent' lookup
event-global.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- event exists on window, which is initially set to undefined
- window.event is only defined during dispatch
- window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)
- window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)
- window.event is undefined inside window.onerror if the target is in a shadow tree (ErrorEvent dispatched inside shadow tree)
- window.event is set to the current event during dispatch
- window.event is set to the current event, which is the event passed to dispatch
- window.event is set to the current event, which is the event passed to dispatch (2)
event-global.worker.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- There's no self.event (that's why we call it window.event) in workers
event-handler-attribute-replace-preserves-passive.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Replacing a wheel event handler attribute on body via setAttribute preserves its passive flag
- Replacing a wheel event handler attribute on document element via setAttribute preserves its passive flag
event-listener-not-fully-active-adopted-node.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Node created in an iframe's realm and adopted into this document, iframe removed
- Node created in this realm and adopted into an iframe's document, iframe removed
- Adopting the target into a fully active iframe's document during dispatch
- Adopting the target into a removed iframe's document during dispatch
- Event from a node created in a removed iframe's realm still reaches listeners in this document
event-listener-not-fully-active-callback.html 4 / 4 passingChrome 3 / 40 failedClean
4 passing subtests
- Function callback from a removed iframe, with a fully active target
- handleEvent() callback from a removed iframe, with a fully active target
- Event handler attribute set to a function from a removed iframe
- Listener added from a removed iframe, with a fully active target and callback
event-listener-not-fully-active-target.html 16 / 16 passingChrome 14 / 160 failedClean
16 passing subtests
- EventTarget created in a removed iframe
- EventTarget created in a removed iframe, with an event from that iframe
- EventTarget created in a removed iframe, with a listener added after removal
- dispatchEvent() on an EventTarget in a removed iframe returns true
- Dispatch still happens for an EventTarget in a removed iframe, only the listeners are skipped
- handleEvent is not looked up for an EventTarget in a removed iframe
- Removing the iframe from within a listener skips the remaining listeners on the same target
- Removing the iframe during the capture phase skips the remaining objects in the event path
- Window of a removed iframe
- Document of a removed iframe
- Element of a removed iframe
- Event handler IDL attribute on an element in a removed iframe
- Compiled event handler content attribute on an element in a removed iframe
- AbortSignal from a removed iframe is still aborted
- Abort listeners on an AbortSignal from a removed iframe do not run
- It is the target's global that matters, not the event's
event-src-element-nullable.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Event srcElement should be nullable
focus-event-document-move.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Moving a node during mousedown should not crash
handler-count.html 6 / 6 passingChrome 6 / 60 failedClean
/dom/events/handler-count.html?document OK 2 / 2
2 passing subtests
- Test addEventListener/removeEventListener on the document.
- Test setting onanimationstart handler on the document.
/dom/events/handler-count.html?element OK 2 / 2
2 passing subtests
- Test addEventListener/removeEventListener on the element.
- Test setting onanimationstart handler on the element.
/dom/events/handler-count.html?window OK 2 / 2
2 passing subtests
- Test addEventListener/removeEventListener on the window.
- Test setting onanimationstart handler on the window.
keypress-dispatch-crash.html none reportedChrome —0 failedClean
/dom/events/keypress-dispatch-crash.html PASS none reported
No subtests were reported.
label-default-action.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Label default action should not trigger when clicked button removes itself
legacy-pre-activation-behavior.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Use NONE phase during legacy-pre-activation behavior
mouse-event-retarget.html 0 / 1 passingChrome 1 / 11 failedExempt
Exempt from the 0.1 gate until a renderer answers geometry
MouseEvent.offsetX (CSSOM View) is the event's x relative to the target's padding edge, which only a layout box gives: the click with clientX 50 at a div below body's 8px margin reads 50 (the no-box answer, offsetX = pageX) where a renderer's box gives 42 (Chrome 157, Firefox 160 and Safari 27.2 pass 1/1); Crane keeps offsetX from the event's coordinates, and reading the box at dispatch comes with the renderer interface
- Failing assertion
- assert_equals: expected 42 but got 50
- ¶
FAILoffsetX is correctly adjusted
assert_equals: expected 42 but got 50
no-focus-events-at-clicking-editable-content-in-link.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Click editable element in link
- Click editable link
passive-by-default-non-node.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- wheel listeners on EventTarget are not passive by default
- wheel listeners on Performance are not passive by default
passive-by-default.html 100 / 100 passingChrome 100 / 1000 failedClean
100 passing subtests
- touchstart listener is passive by default for Window
- touchstart listener is passive with {passive:undefined} for Window
- touchstart listener is non-passive with {passive:false} for Window
- touchstart listener is passive with {passive:true} for Window
- touchstart listener is passive by default for Document
- touchstart listener is passive with {passive:undefined} for Document
- touchstart listener is non-passive with {passive:false} for Document
- touchstart listener is passive with {passive:true} for Document
- touchstart listener is passive by default for HTMLHtmlElement
- touchstart listener is passive with {passive:undefined} for HTMLHtmlElement
- touchstart listener is non-passive with {passive:false} for HTMLHtmlElement
- touchstart listener is passive with {passive:true} for HTMLHtmlElement
- touchstart listener is passive by default for HTMLBodyElement
- touchstart listener is passive with {passive:undefined} for HTMLBodyElement
- touchstart listener is non-passive with {passive:false} for HTMLBodyElement
- touchstart listener is passive with {passive:true} for HTMLBodyElement
- touchstart listener is non-passive by default for HTMLDivElement
- touchstart listener is non-passive with {passive:undefined} for HTMLDivElement
- touchstart listener is non-passive with {passive:false} for HTMLDivElement
- touchstart listener is passive with {passive:true} for HTMLDivElement
- touchmove listener is passive by default for Window
- touchmove listener is passive with {passive:undefined} for Window
- touchmove listener is non-passive with {passive:false} for Window
- touchmove listener is passive with {passive:true} for Window
- touchmove listener is passive by default for Document
- touchmove listener is passive with {passive:undefined} for Document
- touchmove listener is non-passive with {passive:false} for Document
- touchmove listener is passive with {passive:true} for Document
- touchmove listener is passive by default for HTMLHtmlElement
- touchmove listener is passive with {passive:undefined} for HTMLHtmlElement
- touchmove listener is non-passive with {passive:false} for HTMLHtmlElement
- touchmove listener is passive with {passive:true} for HTMLHtmlElement
- touchmove listener is passive by default for HTMLBodyElement
- touchmove listener is passive with {passive:undefined} for HTMLBodyElement
- touchmove listener is non-passive with {passive:false} for HTMLBodyElement
- touchmove listener is passive with {passive:true} for HTMLBodyElement
- touchmove listener is non-passive by default for HTMLDivElement
- touchmove listener is non-passive with {passive:undefined} for HTMLDivElement
- touchmove listener is non-passive with {passive:false} for HTMLDivElement
- touchmove listener is passive with {passive:true} for HTMLDivElement
- wheel listener is passive by default for Window
- wheel listener is passive with {passive:undefined} for Window
- wheel listener is non-passive with {passive:false} for Window
- wheel listener is passive with {passive:true} for Window
- wheel listener is passive by default for Document
- wheel listener is passive with {passive:undefined} for Document
- wheel listener is non-passive with {passive:false} for Document
- wheel listener is passive with {passive:true} for Document
- wheel listener is passive by default for HTMLHtmlElement
- wheel listener is passive with {passive:undefined} for HTMLHtmlElement
- wheel listener is non-passive with {passive:false} for HTMLHtmlElement
- wheel listener is passive with {passive:true} for HTMLHtmlElement
- wheel listener is passive by default for HTMLBodyElement
- wheel listener is passive with {passive:undefined} for HTMLBodyElement
- wheel listener is non-passive with {passive:false} for HTMLBodyElement
- wheel listener is passive with {passive:true} for HTMLBodyElement
- wheel listener is non-passive by default for HTMLDivElement
- wheel listener is non-passive with {passive:undefined} for HTMLDivElement
- wheel listener is non-passive with {passive:false} for HTMLDivElement
- wheel listener is passive with {passive:true} for HTMLDivElement
- mousewheel listener is passive by default for Window
- mousewheel listener is passive with {passive:undefined} for Window
- mousewheel listener is non-passive with {passive:false} for Window
- mousewheel listener is passive with {passive:true} for Window
- mousewheel listener is passive by default for Document
- mousewheel listener is passive with {passive:undefined} for Document
- mousewheel listener is non-passive with {passive:false} for Document
- mousewheel listener is passive with {passive:true} for Document
- mousewheel listener is passive by default for HTMLHtmlElement
- mousewheel listener is passive with {passive:undefined} for HTMLHtmlElement
- mousewheel listener is non-passive with {passive:false} for HTMLHtmlElement
- mousewheel listener is passive with {passive:true} for HTMLHtmlElement
- mousewheel listener is passive by default for HTMLBodyElement
- mousewheel listener is passive with {passive:undefined} for HTMLBodyElement
- mousewheel listener is non-passive with {passive:false} for HTMLBodyElement
- mousewheel listener is passive with {passive:true} for HTMLBodyElement
- mousewheel listener is non-passive by default for HTMLDivElement
- mousewheel listener is non-passive with {passive:undefined} for HTMLDivElement
- mousewheel listener is non-passive with {passive:false} for HTMLDivElement
- mousewheel listener is passive with {passive:true} for HTMLDivElement
- touchend listener is non-passive by default for Window
- touchend listener is non-passive with {passive:undefined} for Window
- touchend listener is non-passive with {passive:false} for Window
- touchend listener is passive with {passive:true} for Window
- touchend listener is non-passive by default for Document
- touchend listener is non-passive with {passive:undefined} for Document
- touchend listener is non-passive with {passive:false} for Document
- touchend listener is passive with {passive:true} for Document
- touchend listener is non-passive by default for HTMLHtmlElement
- touchend listener is non-passive with {passive:undefined} for HTMLHtmlElement
- touchend listener is non-passive with {passive:false} for HTMLHtmlElement
- touchend listener is passive with {passive:true} for HTMLHtmlElement
- touchend listener is non-passive by default for HTMLBodyElement
- touchend listener is non-passive with {passive:undefined} for HTMLBodyElement
- touchend listener is non-passive with {passive:false} for HTMLBodyElement
- touchend listener is passive with {passive:true} for HTMLBodyElement
- touchend listener is non-passive by default for HTMLDivElement
- touchend listener is non-passive with {passive:undefined} for HTMLDivElement
- touchend listener is non-passive with {passive:false} for HTMLDivElement
- touchend listener is passive with {passive:true} for HTMLDivElement
pointer-event-document-move.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Moving a node to new document should move the registered event listeners together
preventDefault-during-activation-behavior.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- behavior of preventDefault during activation behavior
remove-all-listeners.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Removing all listeners and then adding a new one should work.
- Nested usage of once listeners should work.
replace-event-listener-null-browsing-context-crash.html none reportedChrome —0 failedClean
/dom/events/replace-event-listener-null-browsing-context-crash.html PASS none reported
No subtests were reported.
webkit-animation-end-event.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- onanimationend and onwebkitanimationend are not aliases
- dispatchEvent of a webkitAnimationEnd event does trigger a prefixed event handler or listener
- dispatchEvent of a webkitAnimationEnd event does not trigger an unprefixed event handler or listener
- dispatchEvent of an animationend event does not trigger a prefixed event handler or listener
- onwebkitanimationend event handler should trigger for an animation
- onwebkitanimationend event handler should not trigger if an unprefixed event handler also exists
- onwebkitanimationend event handler should not trigger if an unprefixed listener also exists
- event types for prefixed and unprefixed animationend event handlers should be named appropriately
- webkitAnimationEnd event listener should trigger for an animation
- webkitAnimationEnd event listener should not trigger if an unprefixed listener also exists
- webkitAnimationEnd event listener should not trigger if an unprefixed event handler also exists
- event types for prefixed and unprefixed animationend event listeners should be named appropriately
- webkitAnimationEnd event listener is case sensitive
webkit-animation-iteration-event.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- onanimationiteration and onwebkitanimationiteration are not aliases
- dispatchEvent of a webkitAnimationIteration event does trigger a prefixed event handler or listener
- dispatchEvent of a webkitAnimationIteration event does not trigger an unprefixed event handler or listener
- dispatchEvent of an animationiteration event does not trigger a prefixed event handler or listener
- onwebkitanimationiteration event handler should trigger for an animation
- onwebkitanimationiteration event handler should not trigger if an unprefixed event handler also exists
- onwebkitanimationiteration event handler should not trigger if an unprefixed listener also exists
- event types for prefixed and unprefixed animationiteration event handlers should be named appropriately
- webkitAnimationIteration event listener should trigger for an animation
- webkitAnimationIteration event listener should not trigger if an unprefixed listener also exists
- webkitAnimationIteration event listener should not trigger if an unprefixed event handler also exists
- event types for prefixed and unprefixed animationiteration event listeners should be named appropriately
- webkitAnimationIteration event listener is case sensitive
webkit-animation-start-event.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- onanimationstart and onwebkitanimationstart are not aliases
- dispatchEvent of a webkitAnimationStart event does trigger a prefixed event handler or listener
- dispatchEvent of a webkitAnimationStart event does not trigger an unprefixed event handler or listener
- dispatchEvent of an animationstart event does not trigger a prefixed event handler or listener
- onwebkitanimationstart event handler should trigger for an animation
- onwebkitanimationstart event handler should not trigger if an unprefixed event handler also exists
- onwebkitanimationstart event handler should not trigger if an unprefixed listener also exists
- event types for prefixed and unprefixed animationstart event handlers should be named appropriately
- webkitAnimationStart event listener should trigger for an animation
- webkitAnimationStart event listener should not trigger if an unprefixed listener also exists
- webkitAnimationStart event listener should not trigger if an unprefixed event handler also exists
- event types for prefixed and unprefixed animationstart event listeners should be named appropriately
- webkitAnimationStart event listener is case sensitive
webkit-transition-end-event.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- ontransitionend and onwebkittransitionend are not aliases
- dispatchEvent of a webkitTransitionEnd event does trigger a prefixed event handler or listener
- dispatchEvent of a webkitTransitionEnd event does not trigger an unprefixed event handler or listener
- dispatchEvent of an transitionend event does not trigger a prefixed event handler or listener
- onwebkittransitionend event handler should trigger for an animation
- onwebkittransitionend event handler should not trigger if an unprefixed event handler also exists
- onwebkittransitionend event handler should not trigger if an unprefixed listener also exists
- event types for prefixed and unprefixed transitionend event handlers should be named appropriately
- webkitTransitionEnd event listener should trigger for an animation
- webkitTransitionEnd event listener should not trigger if an unprefixed listener also exists
- webkitTransitionEnd event listener should not trigger if an unprefixed event handler also exists
- event types for prefixed and unprefixed transitionend event listeners should be named appropriately
- webkitTransitionEnd event listener is case sensitive
window-composed-path.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window target has an empty path after dispatch
window-event-restored-after-throwing-onerror.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.event is restored after a throwing window.onerror handler