Skip to main content

Coverage / websockets / WebSocket

WebSocket

Interface defined in WebSockets (spec). Inherits from EventTarget; inherited members are listed on those pages.

WebSocket per engine
EngineInterfaceMembers present
warpdom0.1.6maintainer's engineMissing0% (0 of 16)Interface not defined.
happy-dom21.0.3Present69% (11 of 16)Missing: bufferedAmount, onopen, onerror, onclose, onmessage
jsdom30.1.3Present100% (16 of 16)None missing.
linkedom0.18.13Node.js100% (16 of 16)None missing.

An interface can be present while some of its members are missing; the table lists them per engine. Existence only: “present” means the name is defined where Web IDL puts it (the prototype, the interface object for constants and static members, or the window itself for Window), not that it behaves as the standard says.

WebSockets16 members
WebSocket members from WebSockets
Memberwarpdommaintainer's enginehappy-domjsdomlinkedom
urlattributewarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
CONNECTINGconstantwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
OPENconstantwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
CLOSINGconstantwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
CLOSEDconstantwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
readyStateattributewarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
bufferedAmountattributewarpdom: nohappy-dom: nojsdom: yeslinkedom: yes
onopenattributewarpdom: nohappy-dom: nojsdom: yeslinkedom: yes
onerrorattributewarpdom: nohappy-dom: nojsdom: yeslinkedom: yes
oncloseattributewarpdom: nohappy-dom: nojsdom: yeslinkedom: yes
extensionsattributewarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
protocolattributewarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
closemethodwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
onmessageattributewarpdom: nohappy-dom: nojsdom: yeslinkedom: yes
binaryTypeattributewarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes
sendmethodwarpdom: nohappy-dom: yesjsdom: yeslinkedom: yes

Report a wrong result