summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/workers/Worker.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/workers/Worker.idl')
-rw-r--r--chromium/third_party/WebKit/Source/core/workers/Worker.idl3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/core/workers/Worker.idl b/chromium/third_party/WebKit/Source/core/workers/Worker.idl
index 6017569bee9..f4944737f16 100644
--- a/chromium/third_party/WebKit/Source/core/workers/Worker.idl
+++ b/chromium/third_party/WebKit/Source/core/workers/Worker.idl
@@ -30,11 +30,12 @@
Constructor(DOMString scriptUrl),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
+ WillBeGarbageCollected,
] interface Worker : EventTarget {
attribute EventHandler onmessage;
- [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional Array messagePorts);
+ [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional MessagePort[] messagePorts);
void terminate();
};