Skip to content

Commit

Permalink
Revert "Restore override URL concept for javascript: URLs"
Browse files Browse the repository at this point in the history
This reverts commit e91668d.
  • Loading branch information
TimothyGu committed Jul 1, 2019
1 parent e91668d commit ee02d63
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -83493,11 +83493,9 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2640 -> javascript:'test' in Firefox, about:blank otherwise
-->

<li><p>Let <var>address</var> be <var>browsingContext</var>'s <span>active document</span>'s
<span data-x="concept-document-url">URL</span>.</p></li>

<li><p><span data-x="list append">Append</span> <var>address</var> to <var>request</var>'s
<span data-x="concept-request-url-list">URL list</span>.</p></li>
<li><p><span data-x="list append">Append</span> the <var>browsingContext</var>'s <span>active
document</span>'s <span data-x="concept-document-url">URL</span> <span
data-x="concept-request-url-list">URL list</span>.</p></li>

<li><p>Let <var>settings</var> be <var>browsingContext</var>'s <span>active document</span>'s
<span>relevant settings object</span>.</p></li>
Expand Down Expand Up @@ -83529,9 +83527,6 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
bytes that comprise a <span data-x="concept-response-body">response body</span> is not yet
specified, pending further investigation into user agent behavior. See <a
href="https://github.com/whatwg/html/issues/1129">issue #1129</a>.</p>

<p>When it comes time to <span>initialize the <code>Document</code> object</span>, use
<var>address</var> as the <span>override URL</span>.</p>
</li>
</ol>
</li>
Expand Down Expand Up @@ -83587,17 +83582,9 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
</ol>
</li>

<li id="set-the-document's-address">
<p>If an <dfn>override URL</dfn> is set for this navigation, then set <var>document</var>'s
<span data-x="concept-document-url">URL</span> to the <span>override URL</span>.</p>

<p class="note">An <span>override URL</span> is set when <span data-x="javascript
protocol">executing a <code>javascript:</code> URL request</span>.</p>
</li>

<li><p>Otherwise, if <var>request</var> is non-null, then set <var>document</var>'s <span
data-x="concept-document-url">URL</span> to <var>request</var>'s <span
data-x="concept-request-current-url">current URL</span>.</p></li>
<li id="set-the-document's-address"><p>If <var>request</var> is non-null, then set
<var>document</var>'s <span data-x="concept-document-url">URL</span> to <var>request</var>'s
<span data-x="concept-request-current-url">current URL</span>.</p></li>

<li><p>Otherwise, set <var>document</var>'s <span data-x="concept-document-url">URL</span> to
<var>response</var>'s <span data-x="concept-response-url">URL</span>.</p></li>
Expand Down

0 comments on commit ee02d63

Please sign in to comment.