WPT
wpt / dom / events / EventTarget-dispatchEvent.html
Spec: DOM ↗
Runs: Chrome 155.0.8041.0 (wpt@07d3da1fa, 2026-09-04) | Firefox 157.0a1 (wpt@4fbf9ef4d, 2026-09-04) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a7825 (wpt@4fbf9ef4d, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 25/25 | 25/25 | 25/25 | 25/25 | 22/25 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Calling dispatchEvent(null). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (BeforeUnloadEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (CompositionEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceMotionEvent). | PASS | PASS | PASS | PASS | FAIL | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceOrientationEvent). | PASS | PASS | PASS | PASS | FAIL | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (DragEvent). | PASS | PASS | PASS | PASS | FAIL | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (Event). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (Events). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (FocusEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (HashChangeEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (StorageEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (SVGEvents). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (TextEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents). | PASS | PASS | PASS | PASS | PASS | — |
| If the event's dispatch flag is set, an InvalidStateError must be thrown. | PASS | PASS | PASS | PASS | PASS | — |
| Exceptions from event listeners must not be propagated. | PASS | PASS | PASS | PASS | PASS | — |
| Event listeners added during dispatch should be called | PASS | PASS | PASS | PASS | PASS | — |
| Capturing event listeners should be called before non-capturing ones | PASS | PASS | PASS | PASS | PASS | — |