mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
JSON stringify and parse have the wrong length. bug 554082. r=waldo
This commit is contained in:
parent
6880c3a6fa
commit
842cbb7211
@ -1222,8 +1222,8 @@ static JSFunctionSpec json_static_methods[] = {
|
||||
#if JS_HAS_TOSOURCE
|
||||
JS_FN(js_toSource_str, json_toSource, 0, 0),
|
||||
#endif
|
||||
JS_FN("parse", js_json_parse, 1, 0),
|
||||
JS_FN("stringify", js_json_stringify, 1, 0),
|
||||
JS_FN("parse", js_json_parse, 2, 0),
|
||||
JS_FN("stringify", js_json_stringify, 3, 0),
|
||||
JS_FS_END
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user