diff options
author | Loïc Hoguin <[email protected]> | 2022-05-06 14:23:33 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2022-09-12 11:06:38 +0200 |
commit | 180ce23aba863d94c17ee0667cad1ed916f56da1 (patch) | |
tree | bb1f5224374700ad5de8e8772d396a91f74bd45b /test/wpt/cookies/attributes_expires.json | |
parent | 0724dbf536c22fc978ba0bc96052c65f0edafa69 (diff) | |
download | gun-180ce23aba863d94c17ee0667cad1ed916f56da1.tar.gz gun-180ce23aba863d94c17ee0667cad1ed916f56da1.tar.bz2 gun-180ce23aba863d94c17ee0667cad1ed916f56da1.zip |
Update cookie tests against latest WPT
The http-state tests were removed and replaced with
tests in HTML pages. I have devised a way to semi-
automatically import them and test them.
Additional fixes were made following changes in
the rfc6265bis draft.
Diffstat (limited to 'test/wpt/cookies/attributes_expires.json')
-rw-r--r-- | test/wpt/cookies/attributes_expires.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/wpt/cookies/attributes_expires.json b/test/wpt/cookies/attributes_expires.json new file mode 100644 index 0000000..59b8ee3 --- /dev/null +++ b/test/wpt/cookies/attributes_expires.json @@ -0,0 +1 @@ +[{"cookie":"test=1; Expires=Fri, 01 Jan 2038 00:00:00 GMT","expected":"test=1","name":"Set cookie with expires value containing a comma"},{"cookie":"test=2; Expires=Fri 01 Jan 2038 00:00:00 GMT, baz=qux","expected":"test=2","name":"Set cookie with expires value followed by comma"},{"cookie":"test=3; Expires=Fri, 01 Jan 2038 00:00:00 GMT","expected":"test=3","name":"Set cookie with future expiration"},{"cookie":["test=expired; Expires=Fri, 07 Aug 2007 08:04:19 GMT","test=4; Expires=Fri, 07 Aug 2027 08:04:19 GMT"],"expected":"test=4","name":"Set expired cookie along with valid cookie"},{"cookie":"test=5; expires=Thu, 10 Apr 1980 16:33:12 GMT","expected":"","name":"Don't set cookie with expires set to the past"}] |