From a8490c2af73c45264b1d91b6f0f20dec00b50b79 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Sun, 18 Dec 2022 23:32:38 -0500 Subject: [PATCH] Editorial: use associated Document in place of responsible document (#86) --- index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 07b53e9..41c8e9e 100644 --- a/index.html +++ b/index.html @@ -238,8 +238,8 @@

  • Return [=a promise resolved with=] undefined, and [=in parallel=]:
      -
    1. Let |document:Document| be |navigator|'s [=relevant settings - object=]'s [=environment settings object/responsible document=]. +
    2. Let |document:Document| be |navigator|'s + [=relevant global object=]'s [=associated `Document`=].
    3. If |contents| is omitted, set the badge associated with |document| to flag. @@ -261,8 +261,8 @@

      When the {{Navigator/clearClientBadge()}} method is called on |navigator:Navigator|, return [=a promise resolved with=] undefined, and [=in parallel=], set the the badge associated with |navigator|'s - [=relevant settings object=]'s [=environment settings - object/responsible document=] to nothing. + [=relevant global object=]'s [=associated `Document`=] to + nothing.

      @@ -274,9 +274,9 @@

      |navigator:Navigator| with argument |contents:unsigned long long|:

        -
      1. If |navigator|'s [=relevant settings object=] does not have a - [=environment settings object/responsible document=], and is not a - [=service worker client=], return [=a promise rejected with=] a +
      2. If |navigator|'s [=relevant global object=] does not have an + [=associated `Document`=], and is not a [=service worker client=], + return [=a promise rejected with=] a {{"NotSupportedError"}} {{DOMException}}.
      3. Otherwise, return [=a promise resolved with=] undefined, and [=in @@ -311,9 +311,9 @@

        |navigator:Navigator|:

          -
        1. If |navigator|'s [=relevant settings object=] does not have a - [=environment settings object/responsible document=], and is not a - [=service worker client=], return [=a promise rejected with=] a +
        2. If |navigator|'s [=relevant global object=] does not have an + [=associated `Document`=], and is not a [=service worker client=], + return [=a promise rejected with=] a {{"NotSupportedError"}} {{DOMException}}.
        3. Otherwise, return [=a promise resolved with=] undefined, and [=in @@ -354,13 +354,13 @@

          The steps for determining the matching applications takes an [=environment settings object=] |environment:environment settings - object| that either has a [=environment settings object/responsible - document=], or is a [=service worker client=], and returns a [=set=] - of [=installed web applications=]: + object| that either has an [=associated `Document`=], or is a + [=service worker client=], and returns a [=set=] of + [=installed web applications=]:

            -
          1. If |environment| has a [=environment settings object/responsible - document=] |document:Document|: +
          2. If |environment|'s [=relevant global object=] has an + [=associated `Document`=] |document:Document|:
            1. Let |apps:set of applications| be the [=set=] of [=installed web applications=] such that |document|'s {{Document/URL}} is