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

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

Issue 393353003: Improve the declared IDL type for postMessage()'s transferables (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use sequence<Transferable> rather than Transferable[] Created 6 years, 5 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/modules/serviceworkers/Client.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorker.idl
diff --git a/Source/modules/serviceworkers/ServiceWorker.idl b/Source/modules/serviceworkers/ServiceWorker.idl
index 4b77f758eeb91d3dab8294e75f4c5a6cbe6705f7..a4688ddeaaec0ca41483a9e84913c8467bf04594 100644
--- a/Source/modules/serviceworkers/ServiceWorker.idl
+++ b/Source/modules/serviceworkers/ServiceWorker.idl
@@ -45,7 +45,7 @@ enum ServiceWorkerState {
] interface ServiceWorker : EventTarget {
// FIXME: Should inherit this from Worker.
- [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional MessagePort[] messagePorts);
+ [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
readonly attribute ScalarValueString scope;
readonly attribute ScalarValueString url;
« no previous file with comments | « Source/modules/serviceworkers/Client.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698