@@ -416,7 +416,7 @@ <h3 id="MIDIInputMap">
416416 < dfn > MIDIInputMap</ dfn > Interface
417417 </ h3 >
418418 < pre class ="idl ">
419- [SecureContext, Exposed=Window] interface MIDIInputMap {
419+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIInputMap {
420420 readonly maplike <DOMString, MIDIInput>;
421421 };
422422 </ pre >
@@ -450,7 +450,7 @@ <h3 id="MIDIOutputMap">
450450 < dfn > MIDIOutputMap</ dfn > Interface
451451 </ h3 >
452452 < pre class ="idl ">
453- [SecureContext, Exposed=Window] interface MIDIOutputMap {
453+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIOutputMap {
454454 readonly maplike <DOMString, MIDIOutput>;
455455 };
456456 </ pre >
@@ -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;
@@ -559,7 +559,7 @@ <h2 id="MIDIPort">
559559 This interface represents a MIDI input or output port.
560560 </ p >
561561 < pre class ="idl ">
562- [SecureContext, Exposed=Window] interface MIDIPort: EventTarget {
562+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIPort: EventTarget {
563563 readonly attribute DOMString id;
564564 readonly attribute DOMString? manufacturer;
565565 readonly attribute DOMString? name;
@@ -944,7 +944,7 @@ <h3 id="MIDIInput">
944944 < dfn > MIDIInput</ dfn > Interface
945945 </ h3 >
946946 < pre class ="idl ">
947- [SecureContext, Exposed=Window] interface MIDIInput: MIDIPort {
947+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIInput: MIDIPort {
948948 attribute EventHandler onmidimessage;
949949 };
950950 </ pre >
@@ -1008,7 +1008,7 @@ <h3 id="MIDIOutput">
10081008 < dfn > MIDIOutput</ dfn > Interface
10091009 </ h3 >
10101010 < pre class ="idl ">
1011- [SecureContext, Exposed=Window] interface MIDIOutput : MIDIPort {
1011+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIOutput : MIDIPort {
10121012 undefined send(sequence<octet> data, optional DOMHighResTimeStamp timestamp = 0);
10131013 undefined clear();
10141014 };
@@ -1202,7 +1202,7 @@ <h2 id="MIDIMessageEvent">
12021202 high-resolution time of when the event was received or is to be sent.
12031203 </ p >
12041204 < pre class ="idl ">
1205- [SecureContext, Exposed=Window]
1205+ [SecureContext, Exposed=( Window,Worker) ]
12061206 interface MIDIMessageEvent : Event {
12071207 constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
12081208 readonly attribute Uint8Array? data;
@@ -1277,7 +1277,7 @@ <h2 id="MIDIConnectionEvent">
12771277 heavy reliance on connection events not be used.
12781278 </ p >
12791279 < pre class ="idl ">
1280- [SecureContext, Exposed=Window]
1280+ [SecureContext, Exposed=( Window,Worker) ]
12811281 interface MIDIConnectionEvent : Event {
12821282 constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
12831283 readonly attribute MIDIPort? port;
0 commit comments