mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibWeb: Add comments and missing items of various IDL files
This commit is contained in:
parent
fc46def2f5
commit
169d24ae2e
75 changed files with 233 additions and 129 deletions
|
@ -9,13 +9,15 @@ interface WebSocket : EventTarget {
|
|||
|
||||
readonly attribute USVString url;
|
||||
|
||||
// ready state
|
||||
const unsigned short CONNECTING = 0;
|
||||
const unsigned short OPEN = 1;
|
||||
const unsigned short CLOSING = 2;
|
||||
const unsigned short CLOSED = 3;
|
||||
readonly attribute unsigned short readyState;
|
||||
// readonly attribute unsigned long long bufferedAmount;
|
||||
// FIXME: readonly attribute unsigned long long bufferedAmount;
|
||||
|
||||
// networking
|
||||
attribute EventHandler onopen;
|
||||
attribute EventHandler onerror;
|
||||
attribute EventHandler onclose;
|
||||
|
@ -23,6 +25,7 @@ interface WebSocket : EventTarget {
|
|||
readonly attribute DOMString protocol;
|
||||
undefined close(optional unsigned short code, optional USVString reason);
|
||||
|
||||
// messaging
|
||||
attribute EventHandler onmessage;
|
||||
attribute DOMString binaryType;
|
||||
undefined send((BufferSource or Blob or USVString) data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue