Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Unified Diff: Source/core/workers/Worker.idl

Issue 1185043005: Sync worker interfaces with the HTML spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/workers/SharedWorkerGlobalScope.idl ('k') | Source/core/workers/WorkerConsole.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/workers/SharedWorkerGlobalScope.idl ('k') | Source/core/workers/WorkerConsole.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698