v8/test
Théotime Grohens 3656b4656e [dataview] Fix too tight TNode type in DataView getters
This CL fixes a bug found by Clusterfuzz, in which the functions
LoadDataViewByteOffset and -ByteLength incorrectly had a return
type of TNode<Smi> instead of TNode<Number>.

This caused a CAST() call to fail when the requested byte offset
or byte length did not fit inside a Smi, i.e. when the underlying
ArrayBuffer of the DataView had a length longer than 2^30 on
32-bit platforms.

The CL also includes a new test in mjsunit to test against this.

Bug: chromium:869313
Change-Id: Ibb7d29bda5782a12c4b506c070bb03fef8c3ec70
Reviewed-on: https://chromium-review.googlesource.com/1158582
Commit-Queue: Théotime Grohens <theotime@google.com>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54900}
2018-08-03 13:21:16 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [arm,ppc] Consolidate kPCReadOffset to kPcLoadDelta 2018-08-03 13:06:56 +00:00
common [arm][arm64] Fix TurboAssembler tests for hard aborts 2018-07-26 09:12:58 +00:00
debugger [tests] Mark debug/es6/debug-scope-default-param-with-eval as CRASH 2018-07-24 09:45:57 +00:00
fuzzer Revert "[wasm] Implement the new API for WebAssembly.instantiateStreaming" 2018-08-02 13:29:47 +00:00
inspector [utils] Change ReadFile interface 2018-07-31 08:59:00 +00:00
intl Accept Etc/GMT* as a valid time zone id. 2018-08-02 23:23:56 +00:00
js-perf-test Reland "[turbofan] Inline Number constructor in certain cases" 2018-07-23 13:17:19 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message [wasm] Make the output of --wasm-trace-memory more understandable 2018-07-19 09:49:36 +00:00
mjsunit [dataview] Fix too tight TNode type in DataView getters 2018-08-03 13:21:16 +00:00
mkgrokdump [explicit isolates] Move remaining roots to ReadOnyRoots 2018-07-03 15:26:04 +00:00
mozilla Roll ICU to ICU 62.1 2018-07-11 10:24:26 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Fix Array lastIndexOf to call [[HasProperty]] before [[Get]] 2018-08-03 08:45:55 +00:00
torque [torque] forbid brace-free if-else 2018-08-03 10:36:30 +00:00
unittests Reland "Applied noexcept to all mctors and massigns" 2018-08-02 10:37:09 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-07-26 09:54:02 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "Update GN configs for v8_perf target to allow running perf tests in swarming" 2018-07-17 08:40:17 +00:00