Skip to content

Commit

Permalink
Update the spec to refer to the new activation mechanism in HTML
Browse files Browse the repository at this point in the history
This is intentionaly vague to not restrict implementors: it's plausible
that an implementation chooses to be transient or sticky here.

This fixes #2107.

Address comments from Marcos

Don't use explicit link, and follow the guideline in https://github.com/whatwg/html/issues/5129\#issuecomment-562210730
  • Loading branch information
padenot committed Dec 19, 2019
1 parent e4f8da2 commit c6bba1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1324,9 +1324,10 @@ interface AudioContext : BaseAudioContext {
</xmp>

An {{AudioContext}} is said to be <dfn>allowed to start</dfn> if the user agent
allows the context state to transition from "{{AudioContextState/suspended}}" to "{{AudioContextState/running}}". A user
agent may require the actual audio production from an {{AudioContext}} to be
<a>triggered by user activation</a> (as described in [[HTML]]).
allows the context state to transition from "{{AudioContextState/suspended}}" to
"{{AudioContextState/running}}". A user agent may delay this initial transition,
to allow it only when the {{AudioContext}}'s [=relevant global object=] has
[=sticky activation=] or [=transient activation=].

{{AudioContext}} has an internal slot:

Expand Down

0 comments on commit c6bba1c

Please sign in to comment.