Skip to content

Commit d06cdd2

Browse files
revisions
1 parent 3db9868 commit d06cdd2

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

fetch.bs

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ not always relevant and might require different behavior.
19581958
"<code>client</code>".
19591959

19601960
<p>A <a for=/>request</a> has an associated
1961-
<dfn export for=request id=concept-request-navigation-initiator-origin>top-level navigation initiator origin</dfn>,
1961+
<dfn export for=request>top-level navigation initiator origin</dfn>,
19621962
which is an <a for=/>origin</a> or null. Unless stated otherwise it is null.
19631963

19641964
<p class=note>"<code>client</code>" is changed to an <a for=/>origin</a> during
@@ -2249,7 +2249,7 @@ or "<code>object</code>".
22492249
<hr>
22502250

22512251
<div algorithm>
2252-
<p>To compute the <dfn for=request id=concept-request-redirect-taint>redirect-taint</dfn> of a
2252+
<p>To compute the <dfn for=request id=concept-request-tainted-origin>redirect-taint</dfn> of a
22532253
<a for=/>request</a> <var>request</var>, perform the following steps. They return
22542254
"<code>same-origin</code>", "<code>same-site</code>", or "<code>cross-site</code>".
22552255

@@ -4263,11 +4263,11 @@ prefetch, or to treat it differently when counting page visits.
42634263

42644264
<h3 id=cookie-header>`<code>Cookie</code>` header</h3>
42654265

4266-
<p>The `<code>Cookie</code>` header is largely defined in its own specification. [[COOKIES]].
4267-
We define infrastructure to be able to use them conveniently here.
4266+
<p>The `<code>Cookie</code>` header is largely defined in its own specification. We define
4267+
additional infrastructure to be able to use them conveniently here. [[COOKIES]].
42684268

42694269
<div algorithm>
4270-
<p>To <dfn id=append-a-request-cookie-header>append a request `<code>Cookie</code>` header</dfn>,
4270+
<p>To <dfn>append a request `<code>Cookie</code>` header</dfn>,
42714271
given a <a for=/>request</a> <var>request</var>:
42724272

42734273
<ol>
@@ -4305,7 +4305,7 @@ given a <a for=/>request</a> <var>request</var>:
43054305

43064306
<div algorithm>
43074307
<p>To
4308-
<dfn id=parse-and-store-response-cookie-headers>parse and store response `<code>Set-Cookie</code>` headers</dfn>,
4308+
<dfn>parse and store response `<code>Set-Cookie</code>` headers</dfn>,
43094309
given a <a for=/>request</a> <var>request</var> and a <a for=/>response</a> <var>response</var>:
43104310

43114311
<ol>
@@ -4316,7 +4316,7 @@ given a <a for=/>request</a> <var>request</var> and a <a for=/>response</a> <var
43164316

43174317
<li><p>Let |isSecure| be false.
43184318

4319-
<li><p>If <var>request</var>'s <a for=request>url</a>'s <a for=url>scheme</a> is
4319+
<li><p>If <var>request</var>'s <a for=request>current URL</a>'s <a for=url>scheme</a> is
43204320
"<code>https</code>", then set |isSecure| to true.
43214321

43224322
<li>
@@ -4376,17 +4376,7 @@ other specifications.
43764376
</ol>
43774377
</div>
43784378

4379-
<div algorithm>
4380-
<p> To <dfn export>clear site cookies</dfn> for <a for=/>origin</a> <var>origin</var>, run these steps:
4381-
4382-
<ol>
4383-
<li><p>Remove all cookies that were stored with a host is either equal to |origin|'s <a for=url>host</a>,
4384-
or have a <a>registrable domain</a> equal to |origin|'s <a for=url>host</a>'s <a>registrable domain</a>.
43854379

4386-
<p class=XXX>The cookie specification doesn't yet have a way to do this algorithmically, so we
4387-
settle for this definition.
4388-
</ol>
4389-
</div>
43904380

43914381
<h2 id=fetching>Fetching</h2>
43924382

0 commit comments

Comments
 (0)