tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

15.12.1.1-0-9.js (499B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 15.12.1.1-0-9
      6 description: Whitespace characters can appear before/after any JSONtoken
      7 ---*/
      8 
      9 JSON.parse('\t\r \n{\t\r \n' +
     10  '"property"\t\r \n:\t\r \n{\t\r \n}\t\r \n,\t\r \n' +
     11  '"prop2"\t\r \n:\t\r \n' +
     12  '[\t\r \ntrue\t\r \n,\t\r \nnull\t\r \n,123.456\t\r \n]' +
     13  '\t\r \n}\t\r \n'); // should JOSN parse without error
     14 
     15 reportCompare(0, 0);