test/script/basic/NASHORN-737.js.EXPECTED

Fri, 21 Mar 2014 20:24:01 +0530

author
sundar
date
Fri, 21 Mar 2014 20:24:01 +0530
changeset 772
c1f528e1d2f2
parent 551
917b16e509bd
child 952
6d5471a497fb
child 963
e2497b11a021
permissions
-rw-r--r--

8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw

sundar@551 1 {
sundar@551 2 "type": "Program",
sundar@551 3 "body": [
sundar@551 4 {
sundar@551 5 "type": "LabeledStatement",
sundar@551 6 "label": {
sundar@551 7 "type": "Identifier",
sundar@551 8 "name": "label"
sundar@551 9 },
sundar@551 10 "body": {
sundar@551 11 "type": "BlockStatement",
sundar@551 12 "body": [
sundar@551 13 {
sundar@551 14 "type": "WhileStatement",
sundar@551 15 "test": {
sundar@551 16 "type": "Literal",
sundar@551 17 "value": true
sundar@551 18 },
sundar@551 19 "body": {
sundar@551 20 "type": "BlockStatement",
sundar@551 21 "body": [
sundar@551 22 {
sundar@551 23 "type": "BreakStatement",
sundar@551 24 "label": {
sundar@551 25 "type": "Identifier",
sundar@551 26 "name": "label"
sundar@551 27 }
sundar@551 28 }
sundar@551 29 ]
sundar@551 30 }
sundar@551 31 }
sundar@551 32 ]
sundar@551 33 }
sundar@551 34 }
sundar@551 35 ]
sundar@551 36 }

mercurial