Skip to content

Change the MIDIOutput.send() spec to allow raising a RangeError when the passed ArrayBuffer is too big  #210

@toyoshim

Description

@toyoshim

Now Chrome is going to support very large ArrayBuffers that can exceed 4GB, and it isn't realistic to handle such large ArrayBuffers correctly when it is passed via MIDIOutput.send().

So, it would be nicer that the UA can raise RangeError if the passed ArrayBuffer is too large to handle efficiently.

https://webaudio.github.io/web-midi-api/#midioutput-interface
There are two "If data is ... " conditions. So, we would add one more,

If data is too large to handle efficiently, throw a RangeError exception.

Metadata

Metadata

Labels

Needs Editshttps://speced.github.io/spec-maintenance/about/Priority: Soonhttps://speced.github.io/spec-maintenance/about/category: new featurehttps://www.w3.org/policies/process/#class-4

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions