这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 4b5f6c6

Browse files
author
Michael Wilson
committed
Make MIDIAccess transferable and exposed to workers
1 parent 1dbbfc8 commit 4b5f6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ <h2 id="MIDIAccess">
488488
devices, and obtain access to an individual device.
489489
</p>
490490
<pre class="idl">
491-
[SecureContext, Exposed=Window] interface MIDIAccess: EventTarget {
491+
[SecureContext, Exposed=(Window,Worker), Transferable] interface MIDIAccess: EventTarget {
492492
readonly attribute MIDIInputMap inputs;
493493
readonly attribute MIDIOutputMap outputs;
494494
attribute EventHandler onstatechange;

0 commit comments

Comments
 (0)