File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -4344,6 +4344,11 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
4344
4344
</ol>
4345
4345
</div>
4346
4346
4347
+ <h3 id=cookie-infrastructure>Cookie Infrastructure</h3>
4348
+
4349
+ These algorithms are not only for use with the `<code> Cookie</code> ` header, and are used in other
4350
+ specifications.
4351
+
4347
4352
<div algorithm>
4348
4353
<p> To <dfn>determine the same-site mode</dfn> for a given <a for=/>request</a> <var> request</var> ,
4349
4354
run these steps:
@@ -4364,7 +4369,19 @@ run these steps:
4364
4369
<li><p> If <var> request</var> 's <a for=request>redirect-taint</a> is "<code> cross-site</code> ",
4365
4370
return "<code> UnsetOrLess</code> ".
4366
4371
4367
- <li><p> Return "StrictOrLess".
4372
+ <li><p> Return "<code> StrictOrLess</code> ".
4373
+ </ol>
4374
+ </div>
4375
+
4376
+ <div algorithm>
4377
+ <p> To <dfn>clear site cookies</dfn> for <a for=/>origin</a> <var> origin</var> , run these steps:
4378
+
4379
+ <ol>
4380
+ <li><p> Remove all cookies that were stored with a host is either equal to |origin|'s <a for=url>host</a> ,
4381
+ or have a <a>registrable domain</a> equal to |origin|'s <a for=url>host</a>' s <a>registrable domain</a> .
4382
+
4383
+ <p class=XXX> The cookie specification doesn't yet have a way to do this algorithmically, so we
4384
+ settle for this definition.
4368
4385
</ol>
4369
4386
</div>
4370
4387
You can’t perform that action at this time.
0 commit comments