--- parser3/tests/030.html 2003/07/24 11:25:57 1.2
+++ parser3/tests/030.html 2024/09/13 23:49:45 1.6
@@ -1,5 +1,33 @@
-$cookie:clientType[
- $.value[test]
+$cookie:a[
+ $.value[a-value]
$.expires[^date::create(2003;2;26)]
]
-=$cookie:CLASS.clientType=
+
+$cookie:b[
+ $.value[b-value]
+ $.expires[^date::create(2003;2;20)]
+]
+
+$cookie:s[
+ $.value[session-value]
+ $.expires[session]
+]
+
+e1: ^try-catch{
+ $cookie:z[
+ $.value[zzz-value]
+ $.expires[zzz]
+ ]
+}
+
+e2: ^try{
+ $cookie:x[
+ $.value[xxx-value]
+ $.expires(-5000*365)
+ ]
+}{
+ $exception.handled(true)
+ Exception type: $exception.type
+}
+
+^json:string[$cookie:fields; $.indent(1) ]