Skip to content

Commit 53de36a

Browse files
committed
Stop censoring fragments
Due to insufficient testing I made a mistake and thought fragments were only relevant for navigation. Unfortunately this mistake went uncorrected for a long time. Hopefully we can still correct implementations. Corresponding change to the HTML Standard: ... Tests: ... Fixes #505.
1 parent 5bd61e0 commit 53de36a

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

fetch.bs

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,6 @@ number.
222222
<p class="note no-backref"><a>HTTP(S) scheme</a>, <a>network scheme</a>, and <a>fetch scheme</a> are
223223
also used by <cite>HTML</cite>. [[HTML]]
224224

225-
<hr>
226-
227-
<p id=fetch-url>A <dfn>response URL</dfn> is a <a for=/>URL</a> for which implementations need not
228-
store the <a for=url>fragment</a> as it is never exposed. When
229-
<a lt="url serializer">serialized</a>, the <i>exclude fragment flag</i> is set, meaning
230-
implementations can store the <a for=url>fragment</a> nonetheless.
231-
232225

233226
<h3 id=http>HTTP</h3>
234227

@@ -1462,15 +1455,15 @@ end-user.
14621455

14631456
<p>A <a for=/>response</a> has an associated
14641457
<dfn export for=response id=concept-response-url>URL</dfn>. It is a pointer to the last
1465-
<a>response URL</a> in <a for=/>response</a>'s <a for=response>URL list</a> and null if
1466-
<a for=/>response</a>'s <a for=response>URL list</a> is the empty list.
1458+
<a for=/>URL</a> in <a for=/>response</a>'s <a for=response>URL list</a> and null if
1459+
<a for=/>response</a>'s <a for=response>URL list</a> <a for=list>is empty</a>.
14671460

14681461
<p>A <a for=/>response</a> has an associated
14691462
<dfn export for=response id=concept-response-url-list>URL list</dfn> (a <a for=/>list</a> of zero or
1470-
more <a>response URLs</a>). Unless stated otherwise, it is the empty list.
1463+
more <a for=/>URLs</a>). Unless stated otherwise, it is the empty list.
14711464

1472-
<p class="note no-backref">Except for the last <a>response URL</a>, if any, a
1473-
<a for=/>response</a>'s <a for=response>URL list</a> cannot be exposed to script. That would violate
1465+
<p class="note no-backref">Except for the last <a for=/>URL</a>, if any, a <a for=/>response</a>'s
1466+
<a for=response>URL list</a> is not exposed to script as that would violate
14741467
<a>atomic HTTP redirect handling</a>.
14751468

14761469
<p>A <a for=/>response</a> has an associated
@@ -6033,8 +6026,7 @@ return the <a>context object</a>'s <a for=Response>response</a>'s <a for=respons
60336026
<p>The <dfn attribute for=Response><code>url</code></dfn> attribute's getter, when invoked, must
60346027
return the empty string if the <a>context object</a>'s <a for=Response>response</a>'s
60356028
<a for=response>URL</a> is null and the <a>context object</a>'s <a for=Response>response</a>'s
6036-
<a for=response>URL</a>, <a lt="url serializer">serialized</a> with the <i>exclude-fragment flag</i>
6037-
set, otherwise. [[!URL]]
6029+
<a for=response>URL</a>, <a lt="url serializer">serialized</a>, otherwise. [[!URL]]
60386030

60396031
<p>The <dfn attribute for=Response><code>redirected</code></dfn> attribute's getter, when invoked,
60406032
must return true if the <a>context object</a>'s <a for=Response>response</a>'s

0 commit comments

Comments
 (0)