File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -755,8 +755,10 @@ spec. It would be nice to unify these in the future.</p>
755755To <dfn>clear cookies for host</dfn> given a [=host=] |host|, perform the
756756following steps:
757757
758- 1. Let |cookieList| be the set of cookies from the [=cookie store=] whose
759- domain attribute is a [=domain-match=] with |host|.
758+ 1. Let |cookieList| be a set of cookies, initially empty.
759+ 1. [=list/For each=] cookie |cookie| in the [=cookie store=] , if either of the following is true, add |cookie| to |cookieList|:
760+ - |cookie| is not partitioned, and |cookie|'s domain attribute is a [=domain-match=] with |host|; or
761+ - |cookie| is partitioned, and |cookie|'s partition key is equal to |host|' s [=obtain a site|site=] .
7607621. [=list/For each=] |cookie| in |cookieList|:
761763 1. Remove |cookie| from the [=cookie store=] .
762764
You can’t perform that action at this time.
0 commit comments