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

Unified Diff: Source/core/dom/MessagePort.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 | « no previous file | Source/core/frame/Window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MessagePort.idl
diff --git a/Source/core/dom/MessagePort.idl b/Source/core/dom/MessagePort.idl
index f834df6318afd25ddd80c9b681bf9d5f281c4ab7..77d8652d2d66e303aeccf2414d9a1d5d51b4b0c8 100644
--- a/Source/core/dom/MessagePort.idl
+++ b/Source/core/dom/MessagePort.idl
@@ -29,7 +29,7 @@
ActiveDOMObject,
WillBeGarbageCollected
] interface MessagePort : EventTarget {
- [Custom, RaisesException] void postMessage(any message, optional MessagePort[] messagePorts);
+ [Custom, RaisesException] void postMessage(any message, optional sequence<Transferable> transfer);
void start();
void close();
@@ -37,4 +37,3 @@
// event handler attributes
attribute EventHandler onmessage;
};
-
« no previous file with comments | « no previous file | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698