@@ -416,7 +416,7 @@ <h3 id="MIDIInputMap">
416
416
< dfn > MIDIInputMap</ dfn > Interface
417
417
</ h3 >
418
418
< pre class ="idl ">
419
- [SecureContext, Exposed=Window] interface MIDIInputMap {
419
+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIInputMap {
420
420
readonly maplike <DOMString, MIDIInput>;
421
421
};
422
422
</ pre >
@@ -450,7 +450,7 @@ <h3 id="MIDIOutputMap">
450
450
< dfn > MIDIOutputMap</ dfn > Interface
451
451
</ h3 >
452
452
< pre class ="idl ">
453
- [SecureContext, Exposed=Window] interface MIDIOutputMap {
453
+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIOutputMap {
454
454
readonly maplike <DOMString, MIDIOutput>;
455
455
};
456
456
</ pre >
@@ -488,7 +488,7 @@ <h2 id="MIDIAccess">
488
488
devices, and obtain access to an individual device.
489
489
</ p >
490
490
< pre class ="idl ">
491
- [SecureContext, Exposed=Window] interface MIDIAccess: EventTarget {
491
+ [SecureContext, Exposed=( Window,Worker), Transferable ] interface MIDIAccess: EventTarget {
492
492
readonly attribute MIDIInputMap inputs;
493
493
readonly attribute MIDIOutputMap outputs;
494
494
attribute EventHandler onstatechange;
@@ -559,7 +559,7 @@ <h2 id="MIDIPort">
559
559
This interface represents a MIDI input or output port.
560
560
</ p >
561
561
< pre class ="idl ">
562
- [SecureContext, Exposed=Window] interface MIDIPort: EventTarget {
562
+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIPort: EventTarget {
563
563
readonly attribute DOMString id;
564
564
readonly attribute DOMString? manufacturer;
565
565
readonly attribute DOMString? name;
@@ -944,7 +944,7 @@ <h3 id="MIDIInput">
944
944
< dfn > MIDIInput</ dfn > Interface
945
945
</ h3 >
946
946
< pre class ="idl ">
947
- [SecureContext, Exposed=Window] interface MIDIInput: MIDIPort {
947
+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIInput: MIDIPort {
948
948
attribute EventHandler onmidimessage;
949
949
};
950
950
</ pre >
@@ -1008,7 +1008,7 @@ <h3 id="MIDIOutput">
1008
1008
< dfn > MIDIOutput</ dfn > Interface
1009
1009
</ h3 >
1010
1010
< pre class ="idl ">
1011
- [SecureContext, Exposed=Window] interface MIDIOutput : MIDIPort {
1011
+ [SecureContext, Exposed=( Window,Worker) ] interface MIDIOutput : MIDIPort {
1012
1012
undefined send(sequence<octet> data, optional DOMHighResTimeStamp timestamp = 0);
1013
1013
undefined clear();
1014
1014
};
@@ -1202,7 +1202,7 @@ <h2 id="MIDIMessageEvent">
1202
1202
high-resolution time of when the event was received or is to be sent.
1203
1203
</ p >
1204
1204
< pre class ="idl ">
1205
- [SecureContext, Exposed=Window]
1205
+ [SecureContext, Exposed=( Window,Worker) ]
1206
1206
interface MIDIMessageEvent : Event {
1207
1207
constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
1208
1208
readonly attribute Uint8Array? data;
@@ -1277,7 +1277,7 @@ <h2 id="MIDIConnectionEvent">
1277
1277
heavy reliance on connection events not be used.
1278
1278
</ p >
1279
1279
< pre class ="idl ">
1280
- [SecureContext, Exposed=Window]
1280
+ [SecureContext, Exposed=( Window,Worker) ]
1281
1281
interface MIDIConnectionEvent : Event {
1282
1282
constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
1283
1283
readonly attribute MIDIPort? port;
0 commit comments