From 180ce23aba863d94c17ee0667cad1ed916f56da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 6 May 2022 14:23:33 +0200 Subject: 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. --- test/wpt/cookies/attributes_secure.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/wpt/cookies/attributes_secure.json (limited to 'test/wpt/cookies/attributes_secure.json') diff --git a/test/wpt/cookies/attributes_secure.json b/test/wpt/cookies/attributes_secure.json new file mode 100644 index 0000000..63accac --- /dev/null +++ b/test/wpt/cookies/attributes_secure.json @@ -0,0 +1 @@ +[{"cookie":"test=1; Secure","expected":"test=1","name":"Set cookie for Secure attribute"},{"cookie":"test=2; seCURe","expected":"test=2","name":"Set cookie for seCURe attribute"},{"cookie":"test=3; Secure=","expected":"test=3","name":"Set cookie for for Secure= attribute"},{"cookie":"test=4; Secure=aaaa","expected":"test=4","name":"Set cookie for Secure=aaaa"},{"cookie":"test=5; Secure =aaaaa","expected":"test=5","name":"Set cookie for Secure space equals"},{"cookie":"test=6; Secure= aaaaa","expected":"test=6","name":"Set cookie for Secure equals space"},{"cookie":"test=7; Secure","expected":"test=7","name":"Set cookie for spaced Secure"},{"cookie":"test=8; Secure ;","expected":"test=8","name":"Set cookie for space Secure with ;"}] -- cgit v1.2.3