Index: modules/websockets/WebSocket.idl |
diff --git a/modules/websockets/WebSocket.idl b/modules/websockets/WebSocket.idl |
index 9430204cdaa111754713836be1a426c9ee2142e2..b5a4ca9494bb678de932eef207d0e0bb5ae89d3f 100644 |
--- a/modules/websockets/WebSocket.idl |
+++ b/modules/websockets/WebSocket.idl |
@@ -30,13 +30,13 @@ |
*/ |
[ |
- GlobalContext=Window&WorkerGlobalScope, |
ActiveDOMObject, |
Constructor(DOMString url), |
Constructor(DOMString url, sequence<DOMString> protocols), |
Constructor(DOMString url, DOMString protocol), |
- ConstructorRaisesException, |
- ConstructorCallWith=ExecutionContext |
+ ConstructorCallWith=ExecutionContext, |
+ GlobalContext=Window&WorkerGlobalScope, |
+ RaisesException=Constructor, |
] interface WebSocket : EventTarget { |
readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons. |
readonly attribute DOMString url; |