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/encoding_charset.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/encoding_charset.json')
-rw-r--r-- | test/wpt/cookies/encoding_charset.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/wpt/cookies/encoding_charset.json b/test/wpt/cookies/encoding_charset.json new file mode 100644 index 0000000..d6e7048 --- /dev/null +++ b/test/wpt/cookies/encoding_charset.json @@ -0,0 +1 @@ +[{"cookie":"test=1春节回家路·春运完全手册","expected":"test=1春节回家路·春运完全手册","name":"ASCII name and utf-8 value"},{"cookie":"тест=2","expected":"тест=2","name":"utf-8 name and ASCII value"},{"cookie":"test=\"3春节回家路·春运完全手册\"","expected":"test=\"3春节回家路·春运完全手册\"","name":"ASCII name and quoted utf-8 value"},{"cookie":"春节回=4家路·春运完全手册","expected":"春节回=4家路·春运完全手册","name":"utf-8 name and value"},{"cookie":"\"春节回=5家路·春运完全手册\"","expected":"\"春节回=5家路·春运完全手册\"","name":"quoted utf-8 name and value"},{"cookie":"春节回=6家路·春运; 完全手册","expected":"春节回=6家路·春运","name":"utf-8 name and value, with (invalid) utf-8 attribute"}] |