Skip to content

Commit 7f05d43

Browse files
author
Marcos Cáceres
committed
fix Exposed warnings
1 parent 6279f53 commit 7f05d43

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h2 id="MIDIOptions"><dfn>MIDIOptions</dfn> Dictionary</h2>
239239
<section data-dfn-for="MIDIInputMap">
240240
<h3 id="MIDIInputMap"><dfn>MIDIInputMap</dfn> Interface</h3>
241241
<pre class="idl">
242-
[SecureContext] interface MIDIInputMap {
242+
[SecureContext, Exposed=Window] interface MIDIInputMap {
243243
readonly maplike &lt;DOMString, MIDIInput>;
244244
};
245245
</pre>
@@ -268,7 +268,7 @@ <h3 id="MIDIInputMap"><dfn>MIDIInputMap</dfn> Interface</h3>
268268
<section data-dfn-for="MIDIOutputMap">
269269
<h3 id="MIDIOutputMap"><dfn>MIDIOutputMap</dfn> Interface</h3>
270270
<pre class="idl">
271-
[SecureContext] interface MIDIOutputMap {
271+
[SecureContext, Exposed=Window] interface MIDIOutputMap {
272272
readonly maplike &lt;DOMString, MIDIOutput>;
273273
};
274274
</pre>
@@ -297,7 +297,7 @@ <h2 id="MIDIAccess"><dfn>MIDIAccess</dfn> Interface</h2>
297297
<p>This interface provides the methods to list MIDI input and output
298298
devices, and obtain access to an individual device.</p>
299299
<pre class="idl">
300-
[SecureContext] interface MIDIAccess: EventTarget {
300+
[SecureContext, Exposed=Window] interface MIDIAccess: EventTarget {
301301
readonly attribute MIDIInputMap inputs;
302302
readonly attribute MIDIOutputMap outputs;
303303
attribute EventHandler onstatechange;
@@ -339,7 +339,7 @@ <h2 id="MIDIPort"><dfn>MIDIPort</dfn> Interface</h2>
339339

340340
<p>This interface represents a MIDI input or output port.</p>
341341
<pre class="idl">
342-
[SecureContext] interface MIDIPort: EventTarget {
342+
[SecureContext, Exposed=Window] interface MIDIPort: EventTarget {
343343
readonly attribute DOMString id;
344344
readonly attribute DOMString? manufacturer;
345345
readonly attribute DOMString? name;
@@ -615,7 +615,7 @@ <h2 id="MIDIPort"><dfn>MIDIPort</dfn> Interface</h2>
615615
<section data-dfn-for="MIDIInput">
616616
<h3 id="MIDIInput"><dfn>MIDIInput</dfn> Interface</h3>
617617
<pre class="idl">
618-
[SecureContext] interface MIDIInput: MIDIPort {
618+
[SecureContext, Exposed=Window] interface MIDIInput: MIDIPort {
619619
attribute EventHandler onmidimessage;
620620
};
621621
</pre>
@@ -675,7 +675,7 @@ <h3 id="MIDIInput"><dfn>MIDIInput</dfn> Interface</h3>
675675
<section data-dfn-for="MIDIOutput">
676676
<h3 id="MIDIOutput"><dfn>MIDIOutput</dfn> Interface</h3>
677677
<pre class="idl">
678-
[SecureContext] interface MIDIOutput : MIDIPort {
678+
[SecureContext, Exposed=Window] interface MIDIOutput : MIDIPort {
679679
void send(sequence&lt;octet> data, optional DOMHighResTimeStamp timestamp = 0);
680680
void clear();
681681
};
@@ -794,7 +794,7 @@ <h2><dfn>MIDIPortConnectionState</dfn> Enum</h2>
794794
<h2 id="MIDIMessageEvent"><dfn>MIDIMessageEvent</dfn> Interface</h2>
795795
<p>An event object implementing this interface is passed to a MIDIInput's onmidimessage handler when MIDI messages are received. Note that the DOM {{Event}} <code>timeStamp</code> attribute is defined as a {{DOMHighResTimeStamp}}, and represents the high-resolution time of when the event was received or is to be sent.</p>
796796
<pre class="idl">
797-
[SecureContext, Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {})]
797+
[SecureContext, Exposed=Window, Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {})]
798798
interface MIDIMessageEvent : Event {
799799
readonly attribute Uint8Array data;
800800
};
@@ -849,7 +849,7 @@ <h2 id="MIDIConnectionEvent"><dfn>MIDIConnectionEvent</dfn> Interface</h2>
849849
for new devices infrequently. As such, it is suggested that heavy
850850
reliance on connection events not be used.</p>
851851
<pre class="idl">
852-
[SecureContext, Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {})]
852+
[SecureContext, Exposed=Window, Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {})]
853853
interface MIDIConnectionEvent : Event {
854854
readonly attribute MIDIPort port;
855855
};

0 commit comments

Comments
 (0)