Bug 589664 - Rewrite the JSON parser. r=njn, anticipating more review but getting it in-tree now for simplicity, even if more changes need to be made later
This commit is contained in:
@@ -219,3 +219,13 @@
|
||||
* support likely to be made opt-in at some future time.
|
||||
*/
|
||||
#define OLD_GETTER_SETTER_METHODS 1
|
||||
|
||||
/*
|
||||
* Embedders: don't change this: it's a bake-until-ready hack only!
|
||||
*
|
||||
* NB: Changing this value requires adjusting the pass/fail state of a handful
|
||||
* of tests in ecma_5/JSON/ which the old parser implemented incorrectly.
|
||||
* Also make sure to rename JSONSourceParser to just JSONParser when the
|
||||
* old parser is removed completely.
|
||||
*/
|
||||
#define USE_OLD_AND_BUSTED_JSON_PARSER 0
|
||||
|
||||
Reference in New Issue
Block a user