Skip to content

Commit

Permalink
Revert determining the source changes
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jun 29, 2023
1 parent 40df819 commit feac40d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -94115,7 +94115,7 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {

<li id="about-blank-origin"><p>Let <var>origin</var> be the result of <span>determining the
origin</span> given <code>about:blank</code>, <var>sandboxFlags</var>, and
<var>creatorOrigin</var>.</p></li>
<var>creatorOrigin</var>, and null.</p></li>

<li>
<p>Let <var>permissionsPolicy</var> be the result of <span>creating a permissions policy</span>
Expand Down Expand Up @@ -94282,8 +94282,9 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
</ol>

<p>To <dfn data-x="determining the origin">determine the origin</dfn>, given a <span>URL</span>
<var>url</var>, a <span>sandboxing flag set</span> <var>sandboxFlags</var>, and an
<span>origin</span>-or-null <var>initiatorOrigin</var>:</p>
<var>url</var>, a <span>sandboxing flag set</span> <var>sandboxFlags</var>, an
<span>origin</span>-or-null <var>sourceOrigin</var>, and an <span>origin</span>-or-null
<var>containerOrigin</var>:</p>

<ol>
<li id="sandboxOrigin"><p>If <var>sandboxFlags</var> has its <span>sandboxed origin browsing
Expand All @@ -94297,14 +94298,14 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
<p>If <var>url</var> is <code>about:srcdoc</code>, then:</p>

<ol>
<li><p><span>Assert</span>: <var>initiatorOrigin</var> is non-null.</p></li>
<li><p><span>Assert</span>: <var>containerOrigin</var> is non-null.</p></li>

<li><p>Return <var>initiatorOrigin</var>.</p></li>
<li><p>Return <var>containerOrigin</var>.</p></li>
</ol>
</li>

<li><p>If <var>url</var> <span>matches <code>about:blank</code></span> and
<var>initiatorOrigin</var> is non-null, then return <var>initiatorOrigin</var>.</p></li>
<var>sourceOrigin</var> is non-null, then return <var>sourceOrigin</var>.</p></li>

<li><p>Return <var>url</var>'s <span data-x="concept-url-origin">origin</span>.</p></li>
</ol>
Expand Down Expand Up @@ -96066,8 +96067,8 @@ location.href = '#foo';</code></pre>

<li><p>Let <var>responseOrigin</var> be the result of <span>determining the origin</span>
given <var>response</var>'s <span data-x="concept-response-url">URL</span>,
<var>finalSandboxFlags</var>, and <var>documentState</var>'s <span
data-x="document-state-initiator-origin">initiator origin</span>.</p></li>
<var>finalSandboxFlags</var>, <var>documentState</var>'s <span
data-x="document-state-initiator-origin">initiator origin</span>, and null.</p></li>

<li><p>Let <var>coop</var> be a new <span>cross-origin opener policy</span>.</p></li>

Expand Down Expand Up @@ -97746,8 +97747,8 @@ location.href = '#foo';</code></pre>
<li><p>Let <var>responseOrigin</var> be the result of <span>determining the origin</span> given
<var>response</var>'s <span data-x="concept-response-url">URL</span>,
<var>targetSnapshotParams</var>'s <span data-x="target-snapshot-params-sandbox">sandboxing
flags</span>, and <var>entry</var>'s <span data-x="she-document-state">document state</span>'s
<span data-x="document-state-origin">origin</span>.</p></li>
flags</span>, null, and <var>entry</var>'s <span data-x="she-document-state">document
state</span>'s <span data-x="document-state-origin">origin</span>.</p></li>

<li><p>Let <var>coop</var> be a new <span>cross-origin opener policy</span>.</p></li>

Expand Down Expand Up @@ -98136,8 +98137,9 @@ location.href = '#foo';</code></pre>

<li><p>Set <var>responseOrigin</var> to the result of <span>determining the origin</span> given
<var>response</var>'s <span data-x="concept-response-url">URL</span>,
<var>finalSandboxFlags</var>, <var>entry</var>'s and <span data-x="she-document-state">document
state</span>'s <span data-x="document-state-initiator-origin">initiator origin</span>.</p></li>
<var>finalSandboxFlags</var>, <var>entry</var>'s <span data-x="she-document-state">document
state</span>'s <span data-x="document-state-initiator-origin">initiator origin</span>, and
null.</p></li>

<li>
<p>If <var>navigable</var> is a <span>top-level traversable</span>, then:</p>
Expand Down

0 comments on commit feac40d

Please sign in to comment.