Skip to content

Commit

Permalink
Editorial: use associated Document in place of responsible document (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
miketaylr committed Mar 14, 2022
1 parent cc29ee0 commit 9c1679b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2200,11 +2200,12 @@ aborted.

<div algorithm="handle visibility change">
When the user agent determines that the [=document visibility state|visibility
state=] of the [=responsible document=] of the [=current settings object=]
changes, it must run these steps:
state=] of the <a>associated <code>Document</code></a> of the
[=current settings object=]'s [=relevant global object=] changes, it must run
these steps:

1. Let <code>|document|</code> be the [=responsible document=] of the [=current
settings object=].
1. Let <code>|document|</code> be the <a>associated <code>Document</code></a> of
the [=current settings object=]'s [=relevant global object=].
1. If <code>|document|</code>'s [=document visibility state|visibility state=]
is not <code>"visible"</code>, then [=abort all active watchAdvertisements=]
operations.
Expand All @@ -2220,8 +2221,9 @@ active=] [=document=]. When [=fully active|full activity=] is lost, scanning
operations for that [=document=] need to be aborted.

<div algorithm="handle full activity loss">
When the user agent determines that a [=responsible document=] of the [=current
settings object=] is no longer [=fully active=], it must run these steps:
When the user agent determines that a <a>associated <code>Document</code></a> of
the [=current settings object=]'s [=relevant global object=] is no longer
[=fully active=], it must run these steps:

1. Run [=abort all active watchAdvertisements=] operations.

Expand Down

0 comments on commit 9c1679b

Please sign in to comment.