Annotation of parser3/tests/311.html, revision 1.3

1.1       moko        1: @main[]
                      2: 
                      3: $08[^taint[    ]]
                      4: $0A[^taint[^#0A]]
                      5: $t[^table::create{json
                      6: ^invalid_json[]}]
                      7: 
                      8: ^taint[as-is][
                      9:     ^t.menu{^try-catch{$v[^json:parse[^taint[as-is][$t.json]]]}}
1.3     ! moko       10:     ^try-catch{$v[^json:parse[$void]]}
        !            11:     ^try-catch{$v[^json:parse[^taint[["tainted"]]]]}
1.1       moko       12: ]
                     13: 
                     14: @invalid_json[]
                     15: ${0A}"A JSON payload should be an object or array, not a string....."
                     16: ["Unclosed array"
                     17: ["Empty error message"${0A}
                     18: {unquoted_key: "keys must be quoted"}
                     19: ${08}["extra comma"${08},${08}]
                     20: ["double extra comma",,]
                     21: [   , "<-- missing value"]
                     22: ["Comma after the close"],
                     23: ["Extra close"]]
                     24: [${0A}{"Extra comma": true,}]
                     25: {"Extra value after close": true} "misplaced quoted value"
                     26: {"Illegal expression": 1 + 2}
                     27: {"Illegal invocation": alert()}
                     28: {"Numbers cannot have leading zeroes": 013}
                     29: {"Numbers cannot be hex": 0x14}
                     30: ["Illegal backslash escape: \x15"]
                     31: [\naked]
                     32: ["Illegal backslash escape: \017"]
                     33: [[[[[[${0A}[[[[[[[${0A}[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]
                     34: {"Missing colon" null}
                     35: {"Double colon":: null}
                     36: {"Comma instead of colon", null}
                     37: ["Colon instead of comma": false]
                     38: ["Bad value", truth]
1.2       moko       39: ["Русские длинные буквы", truth]
1.1       moko       40: ['single quote']
                     41: ["${08}tab${08}character${08}in${08}very-very-very${08}long${08}string${08}"]
                     42: ["tab\   character\   in\  string\  "]
                     43: ["line${0A}break"]
                     44: ["line\${0A}break"]
                     45: [0e]
                     46: [0e+]
                     47: [0e+-1]
                     48: {"Comma instead if closing brace": true,
                     49: ["mismatch"}

E-mail: