Skip to content

Commit c1868dd

Browse files
committed
Resolve review comments
1 parent ea872cb commit c1868dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ <h2>Feature Policy Integration</h2>
159159
<h2>Extensions to the <dfn>Navigator</dfn> interface</h2>
160160

161161
<pre class="idl">
162-
[SecureContext] partial interface Navigator {
163-
Promise &lt;MIDIAccess> requestMIDIAccess(optional MIDIOptions options);
162+
partial interface Navigator {
163+
[SecureContext] Promise &lt;MIDIAccess> requestMIDIAccess(optional MIDIOptions options);
164164
};
165165
</pre>
166166
<dl>
@@ -832,7 +832,7 @@ <h2><dfn>MIDIPortConnectionState</dfn> Enum</h2>
832832
<h2 id="MIDIMessageEvent"><dfn>MIDIMessageEvent</dfn> Interface</h2>
833833
<p>An event object implementing this interface is passed to a MIDIInput's onmidimessage handler when MIDI messages are received. Note that the DOM <a>Event</a> <code>timeStamp</code> attribute is defined as a <a>DOMHighResTimeStamp</a>, and represents the high-resolution time of when the event was received or is to be sent.</p>
834834
<pre class="idl">
835-
[SecureContext] [Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict)]
835+
[SecureContext], [Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict)]
836836
interface MIDIMessageEvent: Event {
837837
readonly attribute Uint8Array data;
838838
};
@@ -887,7 +887,7 @@ <h2 id="MIDIConnectionEvent"><dfn>MIDIConnectionEvent</dfn> Interface</h2>
887887
for new devices infrequently. As such, it is suggested that heavy
888888
reliance on connection events not be used.</p>
889889
<pre class="idl">
890-
[SecureContext] [Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict)]
890+
[SecureContext], [Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict)]
891891
interface MIDIConnectionEvent: Event {
892892
readonly attribute MIDIPort port;
893893
};

0 commit comments

Comments
 (0)