js/src/tests/ecma_5/JSON/parse-octal-syntax-error.js

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 // Ported from dom/src/json/test/unit/test_decode.js and
     2 // dom/src/json/test/unit/fail13.json
     4 testJSON('{"Numbers cannot have leading zeroes": 013}', true);
     6 /******************************************************************************/
     8 if (typeof reportCompare === "function")
     9   reportCompare(true, true);
    11 print("Tests complete");

mercurial