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

[Editorial] https://webaudio.github.io/web-audio-api/#dom-audiocontext-resume promise handling could be made more clearly #2626

Open
youennf opened this issue Feb 25, 2025 · 0 comments · May be fixed by #2627
Labels
category: enhancement Substantive changes that do not add new features. https://www.w3.org/policies/process/#class-3 Needs Edits Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/ size: S Small amount of work expected to resolve.

Comments

@youennf
Copy link

youennf commented Feb 25, 2025

https://webaudio.github.io/web-audio-api/#dom-audiocontext-resume is calling Queue a control message to resume the AudioContext.
It should probably state that the returned promise is given to the above steps so that it gets resolved.

This also applies to suspend algorithm.
setSinkId algorithm is clearer with that respect.

@mjwilson-google mjwilson-google added Needs Edits Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/ category: editorial Editorial changes that do not affect interpretation. https://www.w3.org/policies/process/#class-2 size: S Small amount of work expected to resolve. category: enhancement Substantive changes that do not add new features. https://www.w3.org/policies/process/#class-3 and removed category: editorial Editorial changes that do not affect interpretation. https://www.w3.org/policies/process/#class-2 labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: enhancement Substantive changes that do not add new features. https://www.w3.org/policies/process/#class-3 Needs Edits Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/ size: S Small amount of work expected to resolve.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants