~ubuntu-branches/ubuntu/saucy/mozjs17/saucy

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Rico Tzschichholz
  • Date: 2013-05-25 12:24:23 UTC
  • Revision ID: package-import@ubuntu.com-20130525122423-zmxucrhtensw90xy
Tags: upstream-17.0.0
ImportĀ upstreamĀ versionĀ 17.0.0

Show diffs side-by-side

added added

removed removed

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