| Index: modules/websockets/WebSocket.idl
|
| diff --git a/modules/websockets/WebSocket.idl b/modules/websockets/WebSocket.idl
|
| index eeb8cbdb10332751d4167e1309fc4707909a72c5..c2a343cd22eff344cdf80919caf67e452b138cb3 100644
|
| --- a/modules/websockets/WebSocket.idl
|
| +++ b/modules/websockets/WebSocket.idl
|
| @@ -38,15 +38,15 @@ enum BinaryType { "blob", "arraybuffer" };
|
| [
|
| ActiveDOMObject,
|
| // FIXME: should be optional union type http://crbug.com/240176
|
| - Constructor(DOMString url),
|
| - Constructor(DOMString url, DOMString protocol),
|
| + Constructor(DOMString url, optional DOMString protocol),
|
| Constructor(DOMString url, sequence<DOMString> protocols),
|
| ConstructorCallWith=ExecutionContext,
|
| - Exposed=Window&Worker,
|
| + Exposed=(Window,Worker),
|
| RaisesException=Constructor,
|
| - WillBeGarbageCollected,
|
| + GarbageCollected,
|
| + ImplementedAs=DOMWebSocket,
|
| ] interface WebSocket : EventTarget {
|
| - [MeasureAs=WebSocketURL] readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
|
| + [DeprecateAs=WebSocketURL] readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
|
| readonly attribute DOMString url;
|
|
|
| // ready state
|
|
|