Index: core/workers/Worker.idl |
diff --git a/core/workers/Worker.idl b/core/workers/Worker.idl |
index a7d148eb537a664508dde405df4cb2e359c283a6..cd657abb463fbb2d70a0b6ffce81b4ac069b5870 100644 |
--- a/core/workers/Worker.idl |
+++ b/core/workers/Worker.idl |
@@ -25,20 +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, |
- WillBeGarbageCollected, |
] interface Worker : EventTarget { |
+ void terminate(); |
+ // TODO(philipj): The SerializedScriptValue type should be any. |
+ [PostMessage, RaisesException] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer); |
attribute EventHandler onmessage; |
- |
- [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer); |
- void terminate(); |
}; |
Worker implements AbstractWorker; |