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

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

Issue 925293002: Service Worker: Add a warning message for Client.postMessage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Client.idl
diff --git a/Source/modules/serviceworkers/Client.idl b/Source/modules/serviceworkers/Client.idl
index fa335273391c3442393e3391ee9c9580735ac277..de8930dae14f802bee02ccf5a81a07a4e6f65933 100644
--- a/Source/modules/serviceworkers/Client.idl
+++ b/Source/modules/serviceworkers/Client.idl
@@ -11,5 +11,6 @@
ImplementedAs=ServiceWorkerClient,
] interface Client {
[RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute USVString url;
- [Custom, RaisesException, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
+ // FIXME: Un-deprecate when the discussion on https://github.com/slightlyoff/ServiceWorker/issues/609 settles.
+ [Custom, RaisesException, DeprecateAs=ServiceWorkerClientPostMessage, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
};
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698