← back to v143 · gamepad-ongamepadconnected-and-ongamepaddisconnected-event-handler-attributes
conformance · v143
v143 · gamepad-ongamepadconnected-and-ongamepaddisconnected-event-handler-attributes — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
window-ongamepadconnected |
window.ongamepadconnected event handler attribute is exposed. spec ↗ | script | … | |
window-ongamepaddisconnected |
window.ongamepaddisconnected event handler attribute is exposed. spec ↗ | script | … | |
ongamepadconnected-default-null |
window.ongamepadconnected reads as null when no handler is assigned (per EventHandler IDL). spec ↗ | script | … | |
ongamepadconnected-assignable |
Assigning a function to window.ongamepadconnected round-trips through the accessor. spec ↗ | script | … | |
gamepadevent-constructible |
GamepadEvent can be constructed (used to verify the handler wires up). spec ↗ | script | … | |
navigator-getgamepads |
navigator.getGamepads remains the primary entry point — the new attributes are sugar over addEventListener. spec ↗ | typeof | … |