Skip to content

Commit c4c66e3

Browse files
committed
Add fully active check when event fires instead
1 parent 9b2fdce commit c4c66e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,12 @@ spec:webidl; type:interface; text:Promise
470470
it MUST asynchronously run the following steps:
471471
</p>
472472
<ol>
473+
<li>
474+
Let |document| this |status|'s [=relevant global object=]'s [=associated Document=].
475+
<li>
476+
<li>
477+
If |document| is null or |document| is not [=Document/fully active=], terminate this algorithm.
478+
</li>
473479
<li>
474480
Run <code><var>status</var>@{{PermissionStatus/[[query]]}}.{{PermissionDescriptor/name}}</code>'s <a>permission
475481
query algorithm</a>, passing <code><var>status</var>@{{PermissionStatus/[[query]]}}</code>

0 commit comments

Comments
 (0)