v8/test
Mathias Bynens 40eb442783 [test] Fix expectations in WebKit JSON.stringify tests
The reference implementation used in the tests does not fully match
the spec, so for the diverging cases we need to explicitly specify
the correct expectation.

Every single change in this patch has been verified against every
major JavaScript engine using eshost + jsvu. All implementations
match the spec (and the V8 implementation), with the following two
exceptions:

- One expectation was wrong because of a JavaScriptCore bug (that
  is, we inherited the incorrect expectation when importing the
  tests from WebKit). A comment was added for that one.
- This work resulted in the discovery of bugs in Moddable/XS:
  https://github.com/Moddable-OpenSource/moddable/issues/112

Change-Id: I05d91d7acc5c8765e941fcd68c1086c2694c710c
Reviewed-on: https://chromium-review.googlesource.com/c/1396081
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58546}
2019-01-04 11:35:57 +00:00
..
benchmarks [Test] CSuite benchmark runner 2018-12-21 13:15:57 +00:00
cctest [cpu-profiler] Add source positions for inlined function calls 2019-01-04 11:12:06 +00:00
common [objects.h splitting] Move HeapNumber to heap-number.h 2018-12-17 17:58:09 +00:00
debugger [Compiler] Fix flaky tsan error for bytecode flushing. 2018-12-18 14:49:13 +00:00
fuzzer Reduce input size limit of parser fuzzer to 2kB 2018-12-17 13:39:05 +00:00
inspector [inspector] Make InjectedScript::getProperties respect custom formatters 2018-12-27 23:17:57 +00:00
intl [Intl] Fix CHECK fail in Intl::ToLanguageTag() 2019-01-04 01:33:26 +00:00
js-perf-test [test] Ensure random generator in JSTests does not use float arithmetic 2018-12-17 10:05:08 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message Revert "[parser] Create arrow function scopes while parsing the head" 2018-12-21 16:09:25 +00:00
mjsunit [Liftoff][ia32] Fix i64 sign extension on non-byte register 2019-01-04 10:12:06 +00:00
mkgrokdump [ubsan] Port Object to the new design 2018-12-26 20:54:07 +00:00
mozilla Revert "[runtime] Reduce spread/apply call max arguments" 2018-11-30 09:54:47 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [ignition] Move destructuring assignments to bytecode generation 2019-01-03 09:41:27 +00:00
torque [nojit] Change builtin pointers to use Smis underneath 2018-12-17 15:35:59 +00:00
unittests [ubsan] Port Object to the new design 2018-12-26 20:54:07 +00:00
wasm-js [wasm] Update spec tests 2019-01-04 09:15:59 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-01-04 09:15:59 +00:00
webkit [test] Fix expectations in WebKit JSON.stringify tests 2019-01-04 11:35:57 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00