Skip to content

Commit

Permalink
check and consume user activation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Jun 1, 2022
1 parent b78f1bb commit 4ab0fb4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,11 @@ <h2>
The <dfn>subscribe</dfn> method when invoked MUST run the following steps:
</p>
<ol>
<li>If the [=relevant global object=] of [=this=] does not have [=transient activation=],
return [=a promise rejected with=] with a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>[=Consume user activation=] of [=this=]'s [=relevant global object=].
</li>
<li>Let |promise| be <a>a new promise</a>.
</li>
<li>Return |promise| and continue the following steps asynchronously.
Expand Down

0 comments on commit 4ab0fb4

Please sign in to comment.