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

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

Issue 264233003: Add blink-side binding code and tests for ServiceWorker -> Document postMessage (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added comment about targetOrigin Created 6 years, 7 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/Client.idl
diff --git a/Source/modules/serviceworkers/Client.idl b/Source/modules/serviceworkers/Client.idl
index 8e419c09a200d9f83ff4917b068f7d32585d18a8..db9cbd16d56670b5b26bf4e9ed295123912b9716 100644
--- a/Source/modules/serviceworkers/Client.idl
+++ b/Source/modules/serviceworkers/Client.idl
@@ -7,4 +7,9 @@
RuntimeEnabled=ServiceWorker
] interface Client {
readonly attribute unsigned long id;
+
+ // FIXME: Currently we think targetOrigin's probably not necessary, but
+ // re-add it if the ongoing issue [1] concludes the other way.
+ // [1] https://github.com/slightlyoff/ServiceWorker/issues/190
+ [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional MessagePort[] messagePorts);
};
« Source/bindings/v8/custom/V8ClientCustom.cpp ('K') | « Source/bindings/v8/custom/V8ClientCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698