Skip to content

Commit

Permalink
Fix w3c#155: Add [Exposed=Window] to MutationObserver and DOMTokenList
Browse files Browse the repository at this point in the history
  • Loading branch information
zqzhang authored and Yongsheng Zhu committed Dec 4, 2017
1 parent 5fee45e commit c1c5d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sections/nodes.include
Expand Up @@ -725,7 +725,8 @@ and an associated list of {{MutationObserver}} objects, which is initially empty
<h4 id="interface-mutationobserver">Interface {{MutationObserver}}</h4>

<pre class='idl'>
[Constructor(MutationCallback callback)]
[Constructor(MutationCallback callback),
Exposed=Window]
interface MutationObserver {
void observe(Node target, optional MutationObserverInit options);
void disconnect();
Expand Down
1 change: 1 addition & 0 deletions sections/sets.include
Expand Up @@ -7,6 +7,7 @@
<h3 id="interface-domtokenlist">Interface {{DOMTokenList}}</h3>

<pre class='idl'>
[Exposed=Window]
interface DOMTokenList {
readonly attribute unsigned long length;
getter DOMString? item(unsigned long index);
Expand Down

0 comments on commit c1c5d4a

Please sign in to comment.