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; |
}; |