Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
toyoshim opened this issue Dec 17, 2019 · 2 comments
Labels
category: new feature https://www.w3.org/policies/process/#class-4 Needs Edits https://speced.github.io/spec-maintenance/about/ Priority: Soon https://speced.github.io/spec-maintenance/about/
Milestone

Comments

@toyoshim
Copy link
Contributor

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.

@toyoshim
Copy link
Contributor Author

@cwilso cwilso added this to the V1 milestone Oct 12, 2020
@mjwilson-google mjwilson-google added the category: enhancement https://www.w3.org/policies/process/#class-3 label Sep 13, 2023
@mjwilson-google mjwilson-google added the Agenda+ https://speced.github.io/spec-maintenance/about/ label Sep 30, 2023
@mjwilson-google
Copy link
Contributor

Audio Working Group 2023-10-05 meeting conclusions:

@mjwilson-google mjwilson-google added Needs Edits https://speced.github.io/spec-maintenance/about/ and removed Agenda+ https://speced.github.io/spec-maintenance/about/ labels Oct 5, 2023
@mjwilson-google mjwilson-google added category: new feature https://www.w3.org/policies/process/#class-4 Priority: Soon https://speced.github.io/spec-maintenance/about/ and removed category: enhancement https://www.w3.org/policies/process/#class-3 labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: new feature https://www.w3.org/policies/process/#class-4 Needs Edits https://speced.github.io/spec-maintenance/about/ Priority: Soon https://speced.github.io/spec-maintenance/about/
Projects
None yet
Development

No branches or pull requests

3 participants