From cb22638da90aed8841545f40a2a6a3f83fbe90ac Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 30 Mar 2022 09:33:44 -0700 Subject: [PATCH 1/2] Replace use of responsible document --- index.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.bs b/index.bs index b68a30e3..d8cf1121 100755 --- a/index.bs +++ b/index.bs @@ -86,7 +86,6 @@ spec:html; urlPrefix: https://html.spec.whatwg.org/multipage/ type: method; for:HTMLCanvasElement; text:getContext(contextId); url: canvas.html#dom-canvas-getcontext type: method; for:Window; text:requestAnimationFrame(callback); url: imagebitmap-and-animations.html#dom-animationframeprovider-requestanimationframe type: dfn; text: currently focused area; url: interaction.html#currently-focused-area-of-a-top-level-browsing-context - type: dfn; text: responsible; url: webappapis.html#responsible-document type: dfn; text: rendering opportunity; url: webappapis.html#rendering-opportunity type: dfn; text: current realm; url: webappapis.html#current type: dfn; text: same origin-domain; url: origin.html#same-origin-domain @@ -2584,7 +2583,7 @@ Starting an {{XRSessionMode/"inline"}} session does not implicitly carry the sam To determine if an inline session request is allowed for a given |global object| the user agent MUST run the following steps: 1. If the session request contained any [=required features=] or [=optional features=] and the request was not made while the |global object| has [=transient activation=] or when [=launching a web application=], return `false`. - 1. If the requesting document is not [=responsible=], return `false`. + 1. If |global| is not a {{Window}}, return `false`. 1. Return `true`. From 7522407074fd901d5ba549e0d9ac0a5b32d81dc0 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 30 Mar 2022 09:43:15 -0700 Subject: [PATCH 2/2] Update index.bs Co-authored-by: Brandon Jones --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index d8cf1121..96754a3e 100755 --- a/index.bs +++ b/index.bs @@ -2583,7 +2583,7 @@ Starting an {{XRSessionMode/"inline"}} session does not implicitly carry the sam To determine if an inline session request is allowed for a given |global object| the user agent MUST run the following steps: 1. If the session request contained any [=required features=] or [=optional features=] and the request was not made while the |global object| has [=transient activation=] or when [=launching a web application=], return `false`. - 1. If |global| is not a {{Window}}, return `false`. + 1. If the |global object| is not a {{Window}}, return `false`. 1. Return `true`.