Home
last modified time | relevance | path

Searched refs:TestStringify (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/
Djson2.js36 function TestStringify(expected, input) { class
52 TestStringify(expected_1, array_1);
53 TestStringify(expected_2, array_2);
59 TestStringify('1', num_wrapper);
64 TestStringify('"true"', str_wrapper);
70 TestStringify('false', bool_wrapper);
78 TestStringify('{"getter":123}', getter_obj);
87 TestStringify('[1,2]', tojson_obj);
96 TestStringify('{"a":1}', tojson_proto_obj);
106 TestStringify('321', tojson_via_getter);
[all …]
Djson.js235 function TestStringify(expected, input) { class
240 TestStringify("true", true);
241 TestStringify("false", false);
242 TestStringify("null", null);
243 TestStringify("false", {toJSON: function () { return false; }});
244 TestStringify("4", 4);
245 TestStringify('"foo"', "foo");
246 TestStringify("null", Infinity);
247 TestStringify("null", -Infinity);
248 TestStringify("null", NaN);
[all …]
/external/v8/test/mjsunit/harmony/
Dsimd.js623 function TestStringify(expected, input) { class
628 TestStringify(undefined, SIMD.Float32x4(1, 2, 3, 4));
629 TestStringify('[null]', [SIMD.Float32x4(1, 2, 3, 4)]);
630 TestStringify('[{}]', [Object(SIMD.Float32x4(1, 2, 3, 4))]);
632 TestStringify('{}', simd_wrapper);
634 TestStringify('{"a":1}', simd_wrapper);
/external/v8/test/mjsunit/es6/
Dsymbols.js554 function TestStringify(expected, input) { class
559 TestStringify(undefined, Symbol("a"));
560 TestStringify('[{}]', [Object(Symbol())]);
562 TestStringify('{}', symbol_wrapper);
564 TestStringify('{"a":1}', symbol_wrapper);