v8/test
Jeremy Roman 8494c583ca ValueSerializer: Report if buffer expansion fails during WriteHostObject.
Also fail early if we detect that we've previously run out of memory and thus
corrupted the buffer.

Add a unit test for this kind of case.

Bug: chromium:914731
Change-Id: Iaaf3927209bffeab6fe8ba462d9dd9dad8cbbe2f
Reviewed-on: https://chromium-review.googlesource.com/c/1377449
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58248}
2018-12-14 16:41:52 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest [tools] skipping the debug mode in status files imply skipping in dcheck_always_on as well 2018-12-14 14:26:49 +00:00
common Reland: [wasm] Add more unit tests for trap handler 2018-11-29 16:33:10 +00:00
debugger [debugger] Disable debug/lazy-deopt-then-flush-bytecode 2018-12-13 14:57:29 +00:00
fuzzer [wasm][fuzzer] Output table bounds and initializers 2018-11-26 15:37:00 +00:00
inspector [tools] skipping the debug mode in status files imply skipping in dcheck_always_on as well 2018-12-14 14:26:49 +00:00
intl [Intl] Roll ICU to 2823bdd7 from 407b393 2018-12-12 21:00:45 +00:00
js-perf-test Make RegExpFlagsFromString faster 2018-12-14 01:25:02 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message Revert "[parser] Improve error message for unclosed function bodies" 2018-12-10 13:09:07 +00:00
mjsunit [tools] skipping the debug mode in status files imply skipping in dcheck_always_on as well 2018-12-14 14:26:49 +00:00
mkgrokdump [ubsan] Port Map to the new design 2018-11-13 06:59:12 +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 [Intl] Fixes Intl.DateTimeFormat hourCycle option issues. 2018-12-14 01:20:42 +00:00
torque [builtins] Port Frame-related CSA functionality to Torque 2018-12-07 17:13:43 +00:00
unittests ValueSerializer: Report if buffer expansion fails during WriteHostObject. 2018-12-14 16:41:52 +00:00
wasm-js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-11-28 11:42:27 +00:00
webkit [tools] skipping the debug mode in status files imply skipping in dcheck_always_on as well 2018-12-14 14:26:49 +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