@@ -1206,8 +1206,8 @@ <h2 id="MIDIMessageEvent">
12061206 < pre class ="idl ">
12071207 [SecureContext, Exposed=Window]
12081208 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;
12111211 };
12121212 </ pre >
12131213 < dl >
@@ -1227,7 +1227,7 @@ <h2 id="MIDIMessageEventInit">
12271227 </ h2 >
12281228 < pre class ="idl ">
12291229 dictionary MIDIMessageEventInit: EventInit {
1230- required Uint8Array data;
1230+ Uint8Array? data;
12311231 };
12321232 </ pre >
12331233 < dl >
@@ -1281,8 +1281,8 @@ <h2 id="MIDIConnectionEvent">
12811281 < pre class ="idl ">
12821282 [SecureContext, Exposed=Window]
12831283 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;
12861286 };
12871287 </ pre >
12881288 < dl >
@@ -1301,7 +1301,7 @@ <h2 id="MIDIConnectionEventInit">
13011301 </ h2 >
13021302 < pre class ="idl ">
13031303 dictionary MIDIConnectionEventInit: EventInit {
1304- required MIDIPort port;
1304+ MIDIPort? port;
13051305 };
13061306 </ pre >
13071307 < dl >
0 commit comments