Skip to content

Add browsing session as open issue #5600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -79832,6 +79832,36 @@ interface <dfn>BarProp</dfn> {

<h3 split-filename="history" id="history">Session history and navigation</h3>

<h4>Browsing sessions</h4>

<div class="XXX">

<p>A <dfn data-export="">browsing session</dfn> is …. See <a
href="https://github.com/whatwg/html/issues/4782">whatwg/html issue #4782</a> and <a
href="https://github.com/whatwg/html/issues/5350">whatwg/html issue #5350</a> for defining
<span>browsing session</span>. It is roughly analogous to a <span>top-level browsing
context</span> except that it cannot be replaced due to a `<code
data-x="">Cross-Origin-Opener-Policy</code>` header or navigation.</p>

<p>A <span>top-level browsing context</span> has an associated <dfn data-export="" data-x="tlbc
browsing session" data-dfn-for="top-level browsing context">browsing session</dfn> which is a
<span>browsing session</span>.</p>

<p>The <dfn data-export="" data-dfn-for="environment settings object" data-x="environment browsing
session">browsing session</dfn> of an <span>environment settings object</span>
<var>environment</var> is the result of running these steps:</p>

<ol>
<li><p>Assert: <var>environment</var> has a <span>responsible document</span>.</p></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I'd like to remove responsible document (#4335), but I'm fine with adding this usage since it's easy to convert in the future whenever I get around to that.


<li><p>Return <var>environment</var>'s <span>responsible document</span>'s <span
data-x="concept-document-bc">browsing context</span>'s <span>top-level browsing context</span>'s
<span data-x="tlbc browsing session">browsing session</span>.</p></li>
</ol>

</div>


<h4>The session history of browsing contexts</h4>

<p>The sequence of <code>Document</code>s in a <span>browsing context</span> is its <dfn>session
Expand Down