summaryrefslogtreecommitdiff
path: root/dom/webidl/Window.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/Window.webidl')
-rw-r--r--dom/webidl/Window.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webidl/Window.webidl b/dom/webidl/Window.webidl
index 1b98042473..199a846bd1 100644
--- a/dom/webidl/Window.webidl
+++ b/dom/webidl/Window.webidl
@@ -80,7 +80,7 @@ typedef any Transferable;
[Throws, UnsafeInPrerendering] void print();
[Throws, CrossOriginCallable, NeedsSubjectPrincipal]
- void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
+ void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer = []);
// also has obsolete members
};