Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When are promises in "[[pending resume promises]]" resolved? #2252

@tidoust

Description

@tidoust

The [[pending resume promises]] slot gets filled with promises from early calls to resume (before context is allowed to start).

However, as far as I can tell, the spec never says when these promises are resolved.

The steps for running a control message to resume an AudioContext either reject the promises or "clear" the list (why aren't the promises resolved first?). On top of that, I suspect that these promises need to be resolved when the context becomes allowed to start. In which case, this issue is similar to the comment I added to #2251: the spec does not explain what happens when context becomes allowed to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs EditsDecision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions