WPT
wpt / websockets / idlharness.any.html
Spec: WebSockets ↗
Runs: Chrome 155.0.8039.0 (wpt@a4fcd77aa, 2026-09-03) | Firefox 157.0a1 (wpt@cc4d45aa0, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@47d833bbc, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 62/62 | 62/62 | 62/62 | 60/62 | 60/62 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| idl_test setup | PASS | PASS | PASS | PASS | PASS | — |
| idl_test validation | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: existence and properties of interface object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface object length | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface object name | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: existence and properties of interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: existence and properties of interface prototype object's "constructor" property | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: existence and properties of interface prototype object's @@unscopables property | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute url | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CONNECTING on interface object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CONNECTING on interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant OPEN on interface object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant OPEN on interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CLOSING on interface object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CLOSING on interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CLOSED on interface object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: constant CLOSED on interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute readyState | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute bufferedAmount | PASS | PASS | PASS | FAIL | PASS | — |
| WebSocket interface: attribute onopen | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute onerror | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute onclose | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute extensions | PASS | PASS | PASS | PASS | FAIL | — |
| WebSocket interface: attribute protocol | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: operation close(optional unsigned short, optional USVString) | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute onmessage | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: attribute binaryType | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: operation send((BufferSource or Blob or USVString)) | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket must be primary interface of new WebSocket("ws://invalid") | PASS | PASS | PASS | PASS | PASS | — |
| Stringification of new WebSocket("ws://invalid") | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "url" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "CONNECTING" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "OPEN" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "CLOSING" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "CLOSED" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "readyState" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "bufferedAmount" with the proper type | PASS | PASS | PASS | FAIL | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "onopen" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "onerror" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "onclose" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "extensions" with the proper type | PASS | PASS | PASS | PASS | FAIL | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "protocol" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "close(optional unsigned short, optional USVString)" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: calling close(optional unsigned short, optional USVString) on new WebSocket("ws://invalid") with too few arguments must throw TypeError | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "onmessage" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "binaryType" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: new WebSocket("ws://invalid") must inherit property "send((BufferSource or Blob or USVString))" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| WebSocket interface: calling send((BufferSource or Blob or USVString)) on new WebSocket("ws://invalid") with too few arguments must throw TypeError | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: existence and properties of interface object | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface object length | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface object name | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: existence and properties of interface prototype object | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: existence and properties of interface prototype object's "constructor" property | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: existence and properties of interface prototype object's @@unscopables property | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: attribute wasClean | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: attribute code | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: attribute reason | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent must be primary interface of new CloseEvent("close") | PASS | PASS | PASS | PASS | PASS | — |
| Stringification of new CloseEvent("close") | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: new CloseEvent("close") must inherit property "wasClean" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: new CloseEvent("close") must inherit property "code" with the proper type | PASS | PASS | PASS | PASS | PASS | — |
| CloseEvent interface: new CloseEvent("close") must inherit property "reason" with the proper type | PASS | PASS | PASS | PASS | PASS | — |