v8/test
Peter Marshall 8315422762 [runtime] Check for overflow when serializing Strings for JSON.
Previously we would shift the length of the string by three, which
could overflow with the new larger string length limit. Now we check
that the length will fit without extra allocation before and after
the shift, because really large strings will never fit, and will
always go to the Checked case.

Bug: chromium:748069, v8:6148
Change-Id: I41cac14b0fde6c5e8ca92305a052cbb743111554
Reviewed-on: https://chromium-review.googlesource.com/584611
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46896}
2017-07-26 11:40:56 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [parser] Provide better error when incorrectly using await 2017-07-25 22:53:58 +00:00
common [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
debugger [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
fuzzer [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
inspector Revert "[inspector] support for cases when embedder doesn't call contextDestroyed" 2017-07-25 11:07:51 +00:00
intl [tests] Fix timezone dependence in an intl test 2017-07-12 12:23:22 +00:00
js-perf-test Add micro-benchmark for Proxy get property 2017-07-19 10:04:06 +00:00
memory
message [parser] Provide better error when incorrectly using await 2017-07-25 22:53:58 +00:00
mjsunit [runtime] Check for overflow when serializing Strings for JSON. 2017-07-26 11:40:56 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
preparser
promises-aplus
test262 [modules] Fix Object.prototype.hasOwnProperty on namespace objects. 2017-07-25 12:09:41 +00:00
unittests [interpreter] make suspend_id an immediate operand to SuspendGenerator 2017-07-25 19:08:48 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-07-25 14:55:07 +00:00
webkit [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00