-
Notifications
You must be signed in to change notification settings - Fork 168
AudioContext "interrupted" state #2611
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
AudioContext "interrupted" state #2611
Conversation
FYI @youennf - here's the interrupted state spec work for AudioContext. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good. I have some comments on style/formatting.
@gabrielsanbrito You don't have to correct all instances in the entire document, but I think it makes sense to clean up the section (e.g. this specific algorithm) that we're working on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits
Let's wait for the review from @padenot, @chrisguttandin, or @mdjp. I think we can merge when we have one more +1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some comments though.
7cd94d7
to
ee7d7b1
Compare
ee7d7b1
to
b297541
Compare
@padenot Thanks for the comments! I have finished addressing them. Could you please have another and see if it looks good to you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, just a suggestion for the name of the private slot, that could be a tad clearer.
Good to merge with that addressed, thanks for getting this done!
@gabrielsanbrito Could you follow up on this error?
Looks like there's one indentation error to be fixed. |
@hoch, @padenot @chrisguttandin Thanks for reviewing this PR! |
This PR adds the specification to the AudioContext "interrupted" state. This change does not have Web Platform Tests, because web pages are not able to trigger interruptions themselves. Starting an interruption is a prerogative of the user agent.
Explainer: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/AudioContextInterruptedState/explainer.md
Preview | Diff