From e6eb7c2acd6a893c1428d5c82415f6c28ffe3d42 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 11 Mar 2022 19:45:06 -0500 Subject: [PATCH 1/2] Editorial: use associated Document in place of responsible document --- index.bs | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/index.bs b/index.bs index 852030c7..06a72f9f 100644 --- a/index.bs +++ b/index.bs @@ -788,9 +788,9 @@ To get related browsing contexts given an [=script/settings object=] 1. Let |related browsing contexts| be an empty set -1. If the [=responsible document=] of |settings| is a [=Document=], append the - [=responsible document=]'s [=Document/browsing context=] to |related browsing - contexts|. +1. If |settings|' [=relevant global object=] is a {{Window}}, append |settings|' + [=relevant global object=]'s associated Document's + [=Document/browsing context=] to |related browsing contexts|. Otherwise if the [=Realm/global object=] specified by |settings| is a {{WorkerGlobalScope}}, for each |owner| in the [=Realm/global object=]'s @@ -3655,7 +3655,8 @@ To get a realm from a target given |target|: 1. Let |document| be |context|'s [=active document=]. 1. Let |environment settings| be the [=environment settings object=] whose - [=responsible document=] is |document|. + [=relevant global object=]'s associated Document is + |document|. 1. Let |realm| be |environment settings|' [=realm execution context=]'s Realm component. @@ -3979,7 +3980,8 @@ The [=remote end steps=] with session and |command parameters| 1. If any of the following conditions hold: - * The [=responsible document=] of |settings| is |document| + * The associated Document of |settings|' + [=relevant global object=] is |document| * The [=Realm/global object=] specified by |settings| is a {{WorkerGlobalScope}} with |document| in its [=owner set=] @@ -4070,9 +4072,11 @@ The [=remote end subscribe steps=] with [=subscribe priority=] 2, given 1. Let |related browsing contexts| be a new set. - 1. If the [=responsible document=] of |settings| is a [=Document=]: + 1. If the associated Document of |settings|' + [=relevant global object=] is a [=Document=]: - 1. Let |context| be |settings|'s [=responsible document=]'s + 1. Let |context| be |settings|'s [=relevant global object=]'s + associated Document's [=Document/browsing context=]'s [=top-level browsing context=]. 1. If |context| is not in |contexts|, continue. @@ -4140,7 +4144,9 @@ Define the following [=unloading document cleanup steps=] with |document|: 1. [=Emit an event=] with |session| and |body|. 1. Let |environment settings| be the [=environment settings object=] whose - [=responsible document=] is |document|. + [=relevant global object=]'s associated Document is + |document|. + 1. Let |realm| be |environment settings|' [=realm execution context=]'s Realm component. From 34662bd2ebe872a887bb99a6c1910355da3cb816 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 11 Mar 2022 19:49:35 -0500 Subject: [PATCH 2/2] Editorial: remove stray = from idl --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 06a72f9f..3ac23b0e 100644 --- a/index.bs +++ b/index.bs @@ -1010,7 +1010,7 @@ Issue: Define in detail how {{SandboxProxy}} works ## SandboxWindowProxy ## {#sandbox-sandboxwindowproxy} -[Exposed=] +[Exposed] interface SandboxWindowProxy : WindowProxy {};