Skip to content

Commit

Permalink
recheck fully active after returning to main thread
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Apr 8, 2024
1 parent 32e0e42 commit 748e16a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,15 @@ <h3>
source</a> given |document|'s <a>relevant global object</a> to
run these steps:
<ol>
<li>If |document| is not [=Document/fully active=], then:
<ol>
<li>Reject |promise| with a {{"NotAllowedError"}}
{{DOMException}}.
</li>
<li>Abort these steps.
</li>
</ol>
</li>
<li>If |document|'s [=Document/visibility state=] is
"`hidden`", then:
<ol>
Expand Down

0 comments on commit 748e16a

Please sign in to comment.