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

Unified Diff: core/workers/Worker.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/workers/SharedWorkerGlobalScope.idl ('k') | core/workers/WorkerConsole.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « core/workers/SharedWorkerGlobalScope.idl ('k') | core/workers/WorkerConsole.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698