more JSON spec questions

Oliver Hunt oliver at
Wed Aug 26 15:52:20 PDT 2009

> Quick word about the test suite: it's current home is 
>  where you can have a look at the README, load runner.htm to run all  
> tests (Warning: if you do that in IE8 something makes it eat all  
> your memory and make the PC entirely unusable!) or browse through  
> folders to individual tests. Hope it's useful to all you  
> implementers out there. Feedback welcome :)

The spec only defines Date.prototype.toJSON now -- so the tests for  
toJSON on String, Boolean and Number are wrong (technically they  
should not be present, and stringification should work if they aren't).

Octal values are completely specified -- the lexer defined in ES5 and 
  disallows a leading 0 on any value not between -1 and 1.

You should also ensure comments are not allowed in the content.


> -- 
> Hallvord R. M. Steen, Core Tester, Opera Software
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list