mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -6,8 +6,9 @@
|
|||
|
||||
enum BinaryType { "blob", "arraybuffer" };
|
||||
|
||||
[Constructor(DOMString url, optional (DOMString or sequence<DOMString>) protocols), Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface WebSocket : EventTarget {
|
||||
[Throws] constructor(DOMString url, optional (DOMString or sequence<DOMString>) protocols);
|
||||
readonly attribute DOMString url;
|
||||
//ready state
|
||||
const unsigned short CONNECTING = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue