aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Window.webidl
diff options
context:
space:
mode:
authorGregory Terzian <gterzian@users.noreply.github.com>2019-06-26 00:25:48 +0800
committerGregory Terzian <gterzian@users.noreply.github.com>2019-10-19 14:28:18 +0800
commit2f8932a6a1e2666567435114383b3acd1899aca7 (patch)
tree8490d198d1c22015afeae84ad25f21ecca462415 /components/script/dom/webidls/Window.webidl
parentc3b17c1201441c9a24c4b272108aea0196fbf1b9 (diff)
downloadservo-2f8932a6a1e2666567435114383b3acd1899aca7.tar.gz
servo-2f8932a6a1e2666567435114383b3acd1899aca7.zip
continue messageport, transferable, postmessage options
Diffstat (limited to 'components/script/dom/webidls/Window.webidl')
-rw-r--r--components/script/dom/webidls/Window.webidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Window.webidl b/components/script/dom/webidls/Window.webidl
index a4af9bf692b..26edbca5c7a 100644
--- a/components/script/dom/webidls/Window.webidl
+++ b/components/script/dom/webidls/Window.webidl
@@ -65,6 +65,8 @@
[Throws]
void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer /*= []*/);
+ [Throws]
+ void postMessage(any message, optional WindowPostMessageOptions options = {});
// also has obsolete members
};
@@ -172,3 +174,8 @@ partial interface Window {
[Pref="css.animations.testing.enabled"]
readonly attribute unsigned long runningAnimationCount;
};
+
+dictionary WindowPostMessageOptions {
+ USVString targetOrigin = "/";
+ sequence<object> transfer;
+};