From 281db00995cd462e8af2578fe67366c6206170d8 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 6 Sep 2017 10:37:07 +0200 Subject: [PATCH] Add [Exposed=Window] to MutationObserver Helps with https://github.com/heycam/webidl/issues/365. --- dom.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom.bs b/dom.bs index ece27206..e3aa5d45 100644 --- a/dom.bs +++ b/dom.bs @@ -3209,7 +3209,8 @@ removed so they do not get lost when subtree is set to true on n

Interface {{MutationObserver}}

-[Constructor(MutationCallback callback)]
+[Constructor(MutationCallback callback),
+ Exposed=Window]
 interface MutationObserver {
   void observe(Node target, optional MutationObserverInit options);
   void disconnect();