nashorn/test/script/basic/JDK-8025147.js.EXPECTED
author sundar
Thu, 13 Mar 2014 15:58:24 +0530
changeset 23374 f470afc89c6c
parent 20218 5818e1531c40
permissions -rw-r--r--
8015958: DataView constructor is not defined Reviewed-by: attila, hannesw, lagergren
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20218
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     1
SyntaxError: Invalid JSON: <json>:1:12 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     2
{ "a": 333, }
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     3
            ^
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     4
SyntaxError: Invalid JSON: <json>:1:8 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     5
[ 4343, ]
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     6
        ^