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

Unified Diff: Source/modules/serviceworkers/ServiceWorker.idl

Issue 185643009: Implement ServiceWorker::postMessage() [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass raw pointer -> PassOwnPtr Created 6 years, 9 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
Index: Source/modules/serviceworkers/ServiceWorker.idl
diff --git a/Source/modules/serviceworkers/ServiceWorker.idl b/Source/modules/serviceworkers/ServiceWorker.idl
index b58eb9005dc907d0e3b48c26e6d07c517ee0f85e..8511ad08eeb1e7737d6d665819cd622f63793839 100644
--- a/Source/modules/serviceworkers/ServiceWorker.idl
+++ b/Source/modules/serviceworkers/ServiceWorker.idl
@@ -31,4 +31,7 @@
RuntimeEnabled=ServiceWorker,
NoInterfaceObject
] interface ServiceWorker {
+
+ // FIXME: Should inherit this from Worker.
+ [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional MessagePort[] messagePorts);
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698