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

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: 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..e993eb048843f24c8e1d3f9b208c37f7448f20db 100644
--- a/Source/core/dom/MessagePort.idl
+++ b/Source/core/dom/MessagePort.idl
@@ -29,7 +29,8 @@
ActiveDOMObject,
WillBeGarbageCollected
] interface MessagePort : EventTarget {
- [Custom, RaisesException] void postMessage(any message, optional MessagePort[] messagePorts);
+
jsbell 2014/07/16 16:48:08 Nit: remove this whitespace? (Could just be a gli
sof 2014/07/16 18:19:15 It's real, but unintentional. Removed now.
+ [Custom, RaisesException] void postMessage(any message, optional Transferable[] transfer);
jsbell 2014/07/16 16:48:08 It appears to be sequence<Transferable> in specs r
sof 2014/07/16 18:19:15 Yes, that it is. Let's mirror that; supported by e
void start();
void close();
@@ -37,4 +38,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