Skip to content

Commit 6f3df44

Browse files
authored
Correct delete a cookie invocation (#278)
* Correct delete a cookie invocation Delete a cookie doesn't take a sameSite parameter. Also remove a confusing note. Fixes #277. * ack
1 parent f0ff023 commit 6f3df44

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

index.bs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -709,9 +709,8 @@ The <dfn method for=CookieStore>delete(|name|)</dfn> method steps are:
709709
|url|,
710710
|name|,
711711
null,
712-
"`/`",
713-
true, and
714-
"{{CookieSameSite/strict}}".
712+
"`/`", and
713+
true.
715714
1. If |r| is failure, then [=reject=] |p| with a {{TypeError}} and abort these steps.
716715
1. [=/Resolve=] |p| with undefined.
717716
1. Return |p|.
@@ -1143,19 +1142,14 @@ run the following steps:
11431142

11441143
1. If |name|'s [=string/length=] is 0, then set |value| to any non-empty [=implementation-defined=] string.
11451144

1146-
1. Let |sameSite| be "{{CookieSameSite/strict}}".
1147-
1148-
Note: The values for |value|, and |sameSite| will not be persisted
1149-
by this algorithm.
1150-
11511145
1. Return the results of running [=set a cookie=] with
11521146
|url|,
11531147
|name|,
11541148
|value|,
11551149
|expires|,
11561150
|domain|,
11571151
|path|,
1158-
|sameSite|, and
1152+
"{{CookieSameSite/strict}}", and
11591153
|partitioned|.
11601154

11611155
</div>
@@ -1352,6 +1346,7 @@ Daniel Murphy,
13521346
Domenic Denicola,
13531347
Elliott Sprehn,
13541348
Fagner Brack,
1349+
Idan Horowitz,
13551350
Jake Archibald,
13561351
Joel Weinberger,
13571352
Joshua Bell,

0 commit comments

Comments
 (0)