summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/MessagePort.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/MessagePort.idl')
-rw-r--r--WebCore/dom/MessagePort.idl3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/dom/MessagePort.idl b/WebCore/dom/MessagePort.idl
index e5f9ad1..a9149ec 100644
--- a/WebCore/dom/MessagePort.idl
+++ b/WebCore/dom/MessagePort.idl
@@ -28,13 +28,14 @@ module events {
interface [
CustomMarkFunction,
+ EventTarget,
GenerateConstructor,
NoStaticTables
] MessagePort {
// We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
// but we don't want to actually expose the API while it is in flux.
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- void postMessage(in DOMString message, in [Optional] MessagePort messagePort)
+ [Custom] void postMessage(in DOMString message, in [Optional] Array messagePorts)
raises(DOMException);
void start();
void close();