Skip to content

Commit 6c93ceb

Browse files
committed
meacer comments
1 parent ce88a76 commit 6c93ceb

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

fetch.bs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,7 +2122,7 @@ Unless stated otherwise, it is false.
21222122
<p class=note>This flag is for exclusive use by HTML's render-blocking mechanism. [[!HTML]]
21232123

21242124
<p>A <a for=/>request</a> has an associated boolean <dfn export for=request>https-upgrade</dfn>.
2125-
Unless stated otherwise, it it false.
2125+
Unless stated otherwise, it is false.
21262126

21272127
<hr>
21282128

@@ -4408,10 +4408,11 @@ steps:
44084408

44094409
<li><p><a>Upgrade <var>request</var> to a potentially trustworthy URL, if appropriate</a>.
44104410

4411-
<li><p>If <var>request</var> is a <a>navigation request</a>, and <var>request</var>'s
4412-
<a for=request>URL</a> is not a <a>potentially trustworthy URL</a>, optionally upgrade it to a
4413-
<a>potentially trustworthy URL<a>. If <var>request</var> is upgraded, set <var>request</var>'s
4414-
<a for=request>https-upgrade</a> flag to true.
4411+
<li><p>If <var>request</var> is a <a>navigation request</a> whose <a for=request>destination</a>
4412+
is "<code>document</code, <var>request</var>'s <a for=request>method</a> is <code>GET</code>,
4413+
and <var>request</var>'s <a for=request>URL</a> is not a <a>potentially trustworthy URL</a>,
4414+
optionally upgrade it to a <a>potentially trustworthy URL<a>. If <var>request</var> is upgraded,
4415+
set <var>request</var>'s <a for=request>https-upgrade</a> flag to true.
44154416

44164417
<li><p><a>Upgrade a mixed content <var>request</var> to a potentially trustworthy URL, if appropriate</a>.
44174418

@@ -5233,7 +5234,7 @@ these steps:
52335234
</ol>
52345235

52355236
<li><p>If <var>response</var> is a <a>network error</a> and <var>request</var> has the
5236-
<a>https-upgrades</a> flag set, set <var>request</var>'s <a for=/>URL</a> <a for=url>scheme</a>
5237+
<a>https-upgrade</a> flag set, set <var>request</var>'s <a for=/>URL</a> <a for=url>scheme</a>
52375238
to <code>http</code> and set <var>response</var> to the result of running <a>HTTP-redirect fetch</a>
52385239
given <var>fetchParams</var> and <var>response</var>.
52395240

0 commit comments

Comments
 (0)