Skip to content

Commit 9e0769a

Browse files
committed
check and consume user activation
1 parent 28f2a51 commit 9e0769a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,12 @@ <h3>
574574
The <dfn>subscribe()</dfn> method when invoked MUST run the following steps:
575575
</p>
576576
<ol class="algorithm">
577-
<li>Let |promise| be [=a new promise=].
577+
<li>If the [=relevant global object=] of [=this=] does not have [=transient activation=],
578+
return [=a promise rejected with=] with a {{"NotAllowedError"}} {{DOMException}}.
579+
</li>
580+
<li>[=Consume user activation=] of [=this=]'s [=relevant global object=].
581+
</li>
582+
<li>Let |promise| be <a>a new promise</a>.
578583
</li>
579584
<li>Let |global| be [=this=]' [=relevant global object=].
580585
</li>

0 commit comments

Comments
 (0)