Manish Goregaokar 2019-03-02 11:48:31 +05:30
parent 5fa80a8be0
commit 7b48df53a1
21 changed files with 917 additions and 621 deletions

View file

@ -23,7 +23,7 @@ interface WebSocket : EventTarget {
attribute EventHandler onclose;
//readonly attribute DOMString extensions;
readonly attribute DOMString protocol;
[Throws] void close([Clamp] optional unsigned short code, optional USVString reason);
[Throws] void close(optional [Clamp] unsigned short code, optional USVString reason);
//messaging
attribute EventHandler onmessage;