Skip to content
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

Populate document state origin/initiator origin upon creation #9494

Merged
merged 7 commits into from
Jul 14, 2023
Merged
Changes from 2 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
18 changes: 17 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -93098,12 +93098,16 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
<span>navigable</span>-or-null <var>parent</var> (default null):</p>

<ol>
<li><p><span>Assert</span>: <var>documentState</var>'s <span
data-x="document-state-document">document</span> is non-null.</p></li>

<li>
<p>Let <var>entry</var> be a new <span>session history entry</span>, with</p>

<dl class="props">
<dt><span data-x="she-url">URL</span></dt>
<dd><var>document</var>'s <span data-x="concept-document-url">URL</span></dd>
<dd><var>documentState</var>'s <span data-x="document-state-document">document</span>'s <span
data-x="concept-document-url">URL</span></dd>

<dt><span data-x="she-document-state">document state</span></dt>
<dd><var>documentState</var></dd>
Expand Down Expand Up @@ -93216,6 +93220,12 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
<dt><span data-x="document-state-document">document</span></dt>
<dd><var>document</var></dd>

<dt><span data-x="document-state-initiator-origin">initiator origin</span></dt>
<dd><var>document</var>'s <span data-x="concept-document-origin">origin</span></dd>

<dt><span data-x="document-state-origin">origin</span></dt>
<dd><var>document</var>'s <span data-x="concept-document-origin">origin</span></dd>

<dt><span data-x="document-state-nav-target-name">navigable target name</span></dt>
<dd><var>targetName</var></dd>
</dl>
Expand Down Expand Up @@ -93378,6 +93388,12 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
<dt><span data-x="document-state-document">document</span></dt>
<dd><var>document</var></dd>

<dt><span data-x="document-state-initiator-origin">initiator origin</span></dt>
<dd><var>document</var>'s <span data-x="concept-document-origin">origin</span></dd>

<dt><span data-x="document-state-origin">origin</span></dt>
<dd><var>document</var>'s <span data-x="concept-document-origin">origin</span></dd>

<dt><span data-x="document-state-nav-target-name">navigable target name</span></dt>
<dd><var>targetName</var></dd>
</dl>
Expand Down