From 5f505d156a9cf84d736e1dcac5c9de81ac22b61f Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 2 Jun 2020 16:55:23 +0200 Subject: [PATCH 1/2] Add browsing session as open issue Having a central point to acknowledge its non-existence will hopefully provide some clarity for #5560 and other changes. --- source | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source b/source index 92a08babf1b..43b0ac19ae1 100644 --- a/source +++ b/source @@ -79832,6 +79832,24 @@ interface BarProp {

Session history and navigation

+

Browsing sessions

+ +
+ +

A browsing session is …. See whatwg/html issue #4782 and whatwg/html issue #5350 for defining + browsing session. It is roughly analogous to a top-level browsing + context except that it cannot be replaced due to a `Cross-Origin-Opener-Policy` header or navigation.

+ +

A top-level browsing context has an associated browsing session which is a browsing + session.

+ +
+ +

The session history of browsing contexts

The sequence of Documents in a browsing context is its session From 02f2a2d8a57612816eddeba4eea54b7416d5fb8f Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 3 Jun 2020 10:40:20 +0200 Subject: [PATCH 2/2] review comments --- source | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/source b/source index 43b0ac19ae1..da3a5da37d0 100644 --- a/source +++ b/source @@ -79836,16 +79836,28 @@ interface BarProp {

-

A browsing session is …. See A browsing session is …. See whatwg/html issue #4782 and whatwg/html issue #5350 for defining browsing session. It is roughly analogous to a top-level browsing context except that it cannot be replaced due to a `Cross-Origin-Opener-Policy` header or navigation.

-

A top-level browsing context has an associated browsing session which is a browsing - session.

+

A top-level browsing context has an associated browsing session which is a + browsing session.

+ +

The browsing session of an environment settings object + environment is the result of running these steps:

+ +
    +
  1. Assert: environment has a responsible document.

  2. + +
  3. Return environment's responsible document's browsing context's top-level browsing context's + browsing session.

  4. +