File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -9551,7 +9551,10 @@ To <dfn>match cookie</dfn> given |stored cookie| and |filter|:
9551
9551
1. Let |field name| be the field name corresponding to the JSON key |name| in
9552
9552
the [=table for cookie conversion=] .
9553
9553
9554
- 1. If |stored cookie|[|field name|] does not equal |value|:
9554
+ 1. If |field name| is "<code> value</code> ", set |store cookie value| to [=deserialize protocol bytes=] with |stored cookie|["value"] ,
9555
+ Otherwise let |store cookie value| be |stored cookie|[|field name|] .
9556
+
9557
+ 1. If |store cookie value| does not equal |value|:
9555
9558
9556
9559
1. Return false.
9557
9560
@@ -9566,9 +9569,11 @@ To <dfn>get matching cookies</dfn> given |cookie store| and |filter|:
9566
9569
9567
9570
1. For each |stored cookie| in |cookie store|:
9568
9571
9569
- 1. If [=match cookie=] with |stored cookie| and |filter| is true:
9572
+ 1. Let |serialized cookie| be the result of [=serialize cookie=] given |stored cookie|.
9573
+
9574
+ 1. If [=match cookie=] with |serialized cookie| and |filter| is true:
9570
9575
9571
- 1. Append the result of [=serialize cookie=] given |stored cookie| to |cookies|.
9576
+ 1. Append |serialized cookie| to |cookies|.
9572
9577
9573
9578
1. Return |cookies|.
9574
9579
You can’t perform that action at this time.
0 commit comments