v8/test
Yutaka Hirano 8f8ae4f8c3 Reland: Serialize native errors
This is a reland of https://crrev.com/c/v8/v8/+/1649257. The original
change was reverted because it conflicted with a blink-side serialization
tag.

Make native errors serializable.

The implementation is mostly straightforward, but there is one
exception: the stack property. Although the property is not specified,
the spec for error cloning asks us to preserve the property if
possible. This implementation serializes the property only when it is
a string, and otherwise ignores it.

Spec: https://github.com/whatwg/html/pull/4665
Intent-to-Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/f8JngIi8qYs

Bug: chromium:970079
Change-Id: Ic1ff07be2c5be415bfb564fa3975bc1a55a06a72
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1692366
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62607}
2019-07-09 15:52:44 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [wasm simd] Implement I64x2 LtS, LtU, GtS, GtU, LeS, LeU, GeS, GeU 2019-07-09 07:47:10 +00:00
common [wasm] Rename 'anyfunc' to 'funcref'. 2019-07-08 21:21:21 +00:00
debugger [debugger] Fix debug-evaluate for context-allocated this. 2019-07-05 12:14:35 +00:00
fuzzer [wasm] Remove non-const reference args from fuzzers 2019-07-08 13:46:46 +00:00
inspector [stack-trace] Separate stack-trace symbolization and serialization 2019-07-04 07:34:53 +00:00
intl Roll icu and fix tests 2019-07-02 06:39:21 +00:00
js-perf-test [IC] Add calls micro-benchmark tests 2019-07-04 14:26:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message Reland "Reland "Let all early errors be SyntaxErrors."" 2019-07-08 10:15:46 +00:00
mjsunit Remove unnecessary DCHECK 2019-07-09 15:41:13 +00:00
mkgrokdump [roheap] Move read_only_heap() from heap to isolate 2019-07-05 14:25:00 +00:00
mozilla [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Reland "Reland "Let all early errors be SyntaxErrors."" 2019-07-08 10:15:46 +00:00
torque [torque] Support 'real' internal classes 2019-06-21 16:09:28 +00:00
unittests Reland: Serialize native errors 2019-07-09 15:52:44 +00:00
wasm-api-tests [wasm-c-api] Add test for Memory 2019-07-09 12:49:18 +00:00
wasm-js [testrunner] generalize test loader to accept multiple extensions 2019-06-25 12:12:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS [owners] Make test/ owned by COMMON_OWNERS 2019-06-06 20:56:09 +00:00