Skip to content

Commit 72fc2e7

Browse files
committed
Stop treating about URLs as same-origin
Browsers don’t implement about:blank as such and certainly don’t want to implement about:config et al this way. Thanks to mode “navigate” this change also doesn’t impact navigation, where about:blank needs to remain same-origin. It might impact <object>, but the current standard for that element is known to be broken. Fixes #384 and closes #385 by extension.
1 parent 2e85cef commit 72fc2e7

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Overview.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<p><a class="logo" href="https://whatwg.org/"><img alt="WHATWG" height="100" src="https://resources.whatwg.org/logo-fetch.svg" width="100"></a>
99
<h1 id="cors">Fetch</h1>
10-
<h2 class="no-num no-toc" id="living-standard-—-last-updated-31-august-2016">Living Standard — Last Updated 31 August 2016</h2>
10+
<h2 class="no-num no-toc" id="living-standard-—-last-updated-14-september-2016">Living Standard — Last Updated 14 September 2016</h2>
1111

1212
<dl>
1313
<dt>Participate:
@@ -2487,10 +2487,6 @@ <h3 id="main-fetch"><span class="secno">5.1 </span>Main fetch</h3>
24872487
<a class="external" data-anolis-spec="url" href="https://url.spec.whatwg.org/#concept-url-scheme" title="concept-url-scheme">scheme</a> is
24882488
"<code title="">data</code>" and <var>request</var>'s
24892489
<a href="#same-origin-data-url-flag">same-origin data-URL flag</a> is set
2490-
<dt><var>request</var>'s
2491-
<a href="#concept-request-current-url" title="concept-request-current-url">current url</a>'s
2492-
<a class="external" data-anolis-spec="url" href="https://url.spec.whatwg.org/#concept-url-scheme" title="concept-url-scheme">scheme</a> is
2493-
"<code title="">about</code>"
24942490
<dt><var>request</var>'s <a href="#concept-request-mode" title="concept-request-mode">mode</a> is
24952491
"<code title="">navigate</code>" or "<code title="">websocket</code>"
24962492

Overview.src.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,10 +2417,6 @@ <h3>Main fetch</h3>
24172417
<span data-anolis-spec=url title=concept-url-scheme>scheme</span> is
24182418
"<code title>data</code>" and <var>request</var>'s
24192419
<span>same-origin data-URL flag</span> is set
2420-
<dt><var>request</var>'s
2421-
<span title=concept-request-current-url>current url</span>'s
2422-
<span data-anolis-spec=url title=concept-url-scheme>scheme</span> is
2423-
"<code title>about</code>"
24242420
<dt><var>request</var>'s <span title=concept-request-mode>mode</span> is
24252421
"<code title>navigate</code>" or "<code title>websocket</code>"
24262422

0 commit comments

Comments
 (0)