Skip to content

Commit f6d0076

Browse files
Nits and revise note
1 parent 0b38de1 commit f6d0076

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

fetch.bs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2281,7 +2281,7 @@ or "<code>object</code>".
22812281
<li>Set <var>lastURL</var> to <var>url</var>.
22822282
</ol>
22832283

2284-
<li>Return <var>computedTaint</var>.
2284+
<li><p>Return <var>computedTaint</var>.
22852285
</ol>
22862286
</div>
22872287

@@ -2393,20 +2393,20 @@ source of security bugs. Please seek security review for features that deal with
23932393
"<code>client</code>".
23942394

23952395
<li><p>If <var>request</var>'s <a for=request>mode</a> is not "<code>no-cors</code>", then return
2396-
true.</p>
2396+
true.
23972397

2398-
<li><p>If <var>request</var>'s <a for=request>client</a> is null, then return true.</p>
2398+
<li><p>If <var>request</var>'s <a for=request>client</a> is null, then return true.
23992399

24002400
<li><p>If <var>request</var>'s <a for=request>client</a>'s
24012401
<a for="environment settings object">policy container</a>'s
24022402
<a for="policy container">embedder policy</a>'s <a for="embedder policy">value</a> is not
2403-
"<a for="embedder policy value"><code>credentialless</code></a>", then return true.</p>
2403+
"<a for="embedder policy value"><code>credentialless</code></a>", then return true.
24042404

24052405
<li><p>If <var>request</var>'s <a for=request>origin</a> is <a>same origin</a> with
24062406
<var>request</var>'s <a for=request>current URL</a>'s <a for=url>origin</a> and <var>request</var>'s
2407-
<a for=request>redirect-taint</a> is not "<code>same-origin</code>", then return true.</p>
2407+
<a for=request>redirect-taint</a> is not "<code>same-origin</code>", then return true.
24082408

2409-
<li><p>Return false.</p>
2409+
<li><p>Return false.
24102410
</ol>
24112411
</div>
24122412

@@ -4282,9 +4282,8 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
42824282
<li>
42834283
<p>Let |httpOnlyAllowed| be true.
42844284

4285-
<p class=note>Since this algorithm is performed on a <a for=/>request</a>, we know that the
4286-
cookies were comsumed by HTTP, rather than script mechanisms such as
4287-
<code>document.cookie</code>.
4285+
<p class=note>True follows from this being invoked from <a>fetch</a>, as opposed to the
4286+
<code>document.cookie</code> getter steps for instance.
42884287

42894288
<li>
42904289
<p>Let |cookies| be the result of running <a>retrieve cookies</a> given |isSecure|,
@@ -4321,9 +4320,8 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
43214320
<li>
43224321
<p>Let |httpOnlyAllowed| be true.
43234322

4324-
<p class=note>Since this algorithm is performed on a <a for=/>request</a>, we know that the
4325-
cookies were produced from HTTP, rather than script mechanisms such as
4326-
<code>document.cookie</code>.
4323+
<p class=note>True follows from this being invoked from <a>fetch</a>, as opposed to the
4324+
<code>document.cookie</code> getter steps for instance.
43274325

43284326
<li><p>Let |sameSiteStrictOrLaxAllowed| be true if the result of [=determine the same-site mode=]
43294327
for |request| is "<code>StrictOrLess</code>", and false otherwise.

0 commit comments

Comments
 (0)