Skip to content

Commit 9bfe9e7

Browse files
authored
Editorial: align with URL's cannot-be-base-URL removal
These URLs now have a path whose value is a string rather than a list. See whatwg/url#655 for context.
1 parent 7e5c922 commit 9bfe9e7

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

fetch.bs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,12 +4214,12 @@ steps:
42144214
<dl class=switch>
42154215
<dt>"<code>about</code>"
42164216
<dd>
4217-
<p>If <var>request</var>'s <a for=request>current URL</a>'s <a>cannot-be-a-base-URL</a> is true
4218-
and <a for=url>path</a> contains a single string "<code>blank</code>", then return a new
4219-
<a for=/>response</a> whose <a for=response>status message</a> is `<code>OK</code>`,
4220-
<a for=response>header list</a> consist of a single <a for=/>header</a> whose
4221-
<a for=header>name</a> is `<code>Content-Type</code>` and <a for=header>value</a> is
4222-
`<code>text/html;charset=utf-8</code>`, and <a for=response>body</a> is the empty byte sequence.
4217+
<p>If <var>request</var>'s <a for=request>current URL</a>'s <a for=url>path</a> is the string
4218+
"<code>blank</code>", then return a new <a for=/>response</a> whose
4219+
<a for=response>status message</a> is `<code>OK</code>`, <a for=response>header list</a> consist
4220+
of a single <a for=/>header</a> whose <a for=header>name</a> is `<code>Content-Type</code>` and
4221+
<a for=header>value</a> is `<code>text/html;charset=utf-8</code>`, and <a for=response>body</a> is
4222+
the empty byte sequence.
42234223

42244224
<p>Otherwise, return a <a>network error</a>.
42254225

@@ -6903,9 +6903,8 @@ constructor steps are:
69036903
<p>If one of the following is true
69046904

69056905
<ul class=brief>
6906-
<li><p><var>parsedReferrer</var>'s <a>cannot-be-a-base-URL</a> is true, <a for=url>scheme</a>
6907-
is "<code>about</code>", and <a for=url>path</a> contains a single string
6908-
"<code>client</code>"
6906+
<li><p><var>parsedReferrer</var>'s <a for=url>scheme</a> is "<code>about</code>" and
6907+
<a for=url>path</a> is the string "<code>client</code>"
69096908

69106909
<li><p><var>parsedReferrer</var>'s <a for=url>origin</a> is not <a>same origin</a> with
69116910
<var>origin</var>

0 commit comments

Comments
 (0)