@@ -1206,8 +1206,8 @@ <h2 id="MIDIMessageEvent">
1206
1206
< pre class ="idl ">
1207
1207
[SecureContext, Exposed=Window]
1208
1208
interface MIDIMessageEvent : Event {
1209
- constructor(DOMString type, MIDIMessageEventInit eventInitDict);
1210
- readonly attribute Uint8Array data;
1209
+ constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {} );
1210
+ readonly attribute Uint8Array? data;
1211
1211
};
1212
1212
</ pre >
1213
1213
< dl >
@@ -1227,7 +1227,7 @@ <h2 id="MIDIMessageEventInit">
1227
1227
</ h2 >
1228
1228
< pre class ="idl ">
1229
1229
dictionary MIDIMessageEventInit: EventInit {
1230
- required Uint8Array data;
1230
+ Uint8Array? data;
1231
1231
};
1232
1232
</ pre >
1233
1233
< dl >
@@ -1281,8 +1281,8 @@ <h2 id="MIDIConnectionEvent">
1281
1281
< pre class ="idl ">
1282
1282
[SecureContext, Exposed=Window]
1283
1283
interface MIDIConnectionEvent : Event {
1284
- constructor(DOMString type, MIDIConnectionEventInit eventInitDict);
1285
- readonly attribute MIDIPort port;
1284
+ constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {} );
1285
+ readonly attribute MIDIPort? port;
1286
1286
};
1287
1287
</ pre >
1288
1288
< dl >
@@ -1301,7 +1301,7 @@ <h2 id="MIDIConnectionEventInit">
1301
1301
</ h2 >
1302
1302
< pre class ="idl ">
1303
1303
dictionary MIDIConnectionEventInit: EventInit {
1304
- required MIDIPort port;
1304
+ MIDIPort? port;
1305
1305
};
1306
1306
</ pre >
1307
1307
< dl >
0 commit comments