mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Make WebSocket constructor take (DOMString or sequence<DOMString>)
This commit is contained in:
parent
eb7b9309dd
commit
0bffffd8f5
6 changed files with 10 additions and 36 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
enum BinaryType { "blob", "arraybuffer" };
|
||||
|
||||
[Constructor(DOMString url, optional /*(*/DOMString /*or DOMString[])*/ protocols)]
|
||||
[Constructor(DOMString url, optional (DOMString or sequence<DOMString>) protocols)]
|
||||
interface WebSocket : EventTarget {
|
||||
readonly attribute DOMString url;
|
||||
//ready state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue