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

Unified Diff: Source/core/dom/MessagePort.idl

Issue 969643002: Sync the MessageChannel and MessagePort interfaces with the spec (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/dom/MessageChannel.idl ('k') | no next file » | 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 70e5f0917a1abb36cee709e9cceee73a30295147..234e880c45f6768721fe8946860c1de4b9657032 100644
--- a/Source/core/dom/MessagePort.idl
+++ b/Source/core/dom/MessagePort.idl
@@ -25,14 +25,16 @@
*
*/
+// https://html.spec.whatwg.org/#message-ports
+
[
ActiveDOMObject,
+ Exposed=(Window,Worker),
] interface MessagePort : EventTarget {
[Custom, RaisesException] void postMessage(any message, optional sequence<Transferable> transfer);
-
void start();
void close();
- // event handler attributes
+ // event handlers
attribute EventHandler onmessage;
};
« no previous file with comments | « Source/core/dom/MessageChannel.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698