Index: Source/modules/websockets/WebSocket.idl |
diff --git a/Source/modules/websockets/WebSocket.idl b/Source/modules/websockets/WebSocket.idl |
index bc1b0920dea47cbf92bc786c1d70a18d230fca89..14dcf902313c6fa795d57ede6913d277a7081d12 100644 |
--- a/Source/modules/websockets/WebSocket.idl |
+++ b/Source/modules/websockets/WebSocket.idl |
@@ -35,7 +35,7 @@ |
Constructor(DOMString url, sequence<DOMString> protocols), |
Constructor(DOMString url, DOMString protocol), |
ConstructorCallWith=ExecutionContext, |
- GlobalContext=Window&WorkerGlobalScope, |
+ Exposed=Window&Worker, |
RaisesException=Constructor, |
WillBeGarbageCollected, |
] interface WebSocket : EventTarget { |