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

Unified Diff: core/dom/MessagePort.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/MessageChannel.idl ('k') | core/dom/MutationObserver.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/MessagePort.idl
diff --git a/core/dom/MessagePort.idl b/core/dom/MessagePort.idl
index 77d8652d2d66e303aeccf2414d9a1d5d51b4b0c8..3c21c03bc2b3bc49a1428edc6179ccadd1f98c06 100644
--- a/core/dom/MessagePort.idl
+++ b/core/dom/MessagePort.idl
@@ -25,15 +25,17 @@
*
*/
+// https://html.spec.whatwg.org/#message-ports
+
[
ActiveDOMObject,
- WillBeGarbageCollected
+ Exposed=(Window,Worker),
+ GarbageCollected,
] interface MessagePort : EventTarget {
- [Custom, RaisesException] void postMessage(any message, optional sequence<Transferable> transfer);
-
- void start();
- void close();
+ [PostMessage, RaisesException, Measure] void postMessage(any message, optional sequence<Transferable> transfer);
+ [Measure] void start();
+ [Measure] void close();
- // event handler attributes
+ // event handlers
attribute EventHandler onmessage;
};
« no previous file with comments | « core/dom/MessageChannel.idl ('k') | core/dom/MutationObserver.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698