Skip to content

Commit

Permalink
Collapse blank/srcdoc inheritance scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jul 4, 2023
1 parent 69dc60d commit b780dd4
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -96022,7 +96022,7 @@ location.href = '#foo';</code></pre>
</li>

<li>
<p>If <var>url</var> is <code>about:blank</code>, then:</p>
<p>If <var>url</var> is <code>about:blank</code> or <code>about:srcdoc</code>, then:</p>

<ol>
<li><p>Set <var>documentState</var>'s <span data-x="document-state-origin">origin</span> to
Expand All @@ -96034,20 +96034,6 @@ location.href = '#foo';</code></pre>
</ol>
</li>

<li>
<p>Otherwise, if <var>url</var> is <code>about:srcdoc</code>, then:</p>

<ol>
<li><p>Set <var>documentState</var>'s <span data-x="document-state-origin">origin</span> to
<var>navigable</var>'s <span data-x="nav-parent">parent</span>'s <span
data-x="nav-document">active document</span>'s <span
data-x="concept-document-origin">origin</span>.</p></li>

<li><p>Set <var>documentState</var>'s <span data-x="document-state-about-base-url">about base
URL</span> to <var>initiatorBaseURLSnapshot</var>.</p></li>
</ol>
</li>

<li><p>Let <var>historyEntry</var> be a new <span>session history entry</span>, with its <span
data-x="she-url">URL</span> set to <var>url</var> and its <span
data-x="she-document-state">document state</span> set to
Expand Down

0 comments on commit b780dd4

Please sign in to comment.