Index: Source/core/workers/Worker.idl |
diff --git a/Source/core/workers/Worker.idl b/Source/core/workers/Worker.idl |
index 198bf00e9d337436d535fc49cfa18ee3e0f660ce..cd657abb463fbb2d70a0b6ffce81b4ac069b5870 100644 |
--- a/Source/core/workers/Worker.idl |
+++ b/Source/core/workers/Worker.idl |
@@ -25,19 +25,20 @@ |
* |
*/ |
-// http://www.whatwg.org/specs/web-apps/current-work/#dedicated-workers-and-the-worker-interface |
+// https://html.spec.whatwg.org/#dedicated-workers-and-the-worker-interface |
[ |
ActiveDOMObject, |
Constructor(DOMString scriptUrl), |
ConstructorCallWith=ExecutionContext, |
+ // TODO(philipj): Exposed=(Window,Worker), |
RaisesException=Constructor, |
] interface Worker : EventTarget { |
+ void terminate(); |
- attribute EventHandler onmessage; |
- |
+ // TODO(philipj): The SerializedScriptValue type should be any. |
[PostMessage, RaisesException] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer); |
- void terminate(); |
+ attribute EventHandler onmessage; |
}; |
Worker implements AbstractWorker; |