Skip to content

MIDIMessageEvent data is not nullable #233

Closed
@padenot

Description

@padenot

STR in Chrome:

> var event = new MIDIMessageEvent("something");
> console.log(event.data);
< null

MIDIMessageEvent.data is not nullable, so this should be an empty array. It's harmless to allow an empty MIDIMessageEvent but it's not particularly useful either. We can change the spec for compat instead of having Chrome fixed maybe.

Metadata

Metadata

Assignees

Labels

category: enhancementhttps://www.w3.org/policies/process/#class-3

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions