v8/test
Jakob Kummerow 45a2d9c518 Fix "x is not iterable" error message consistency
Since 94ce16b704, when loading an iterator from null or undefined, we
generate the error message "x is not iterable" instead of the unwieldy
"Cannot read property 'Symbol(Symbol.iterator)' of undefined". However
Runtime::GetObjectProperty, which is used as slow path by LoadICs, did
not check for this case, leading to different messages being generated
depending on IC state.

Bug: chromium:823130
Change-Id: Ie98500b97efef401aac9880b9af47d58c3c2825d
Reviewed-on: https://chromium-review.googlesource.com/1042951
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52974}
2018-05-03 23:13:21 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest Skip test-serialize/ParialSerializerCustomContext 2018-05-03 14:48:37 +00:00
common [iwyu] Wasm iwyu. 2018-04-30 08:13:51 +00:00
debugger Replace Context::closure with Context::scope_info, allowing closure to die. 2018-05-03 12:34:17 +00:00
fuzzer [arm64] Use direct calls where possible. 2018-04-30 15:02:27 +00:00
inspector [inspector] do not resume on agent disable if there is other agents 2018-05-03 06:23:12 +00:00
intl Fix the fast path for locale canonicalization 2018-04-26 18:10:04 +00:00
js-perf-test Gracefully fail BigInt TypedArray.p.sort benchmarks. 2018-04-19 12:21:10 +00:00
memory [snapshot] Track deserialization time in Memory benchmark 2018-05-02 13:34:47 +00:00
message [mjsunit] Cleanup assertPromiseResult and add tests 2018-04-30 11:56:54 +00:00
mjsunit Fix "x is not iterable" error message consistency 2018-05-03 23:13:21 +00:00
mkgrokdump [builtins] Re-enable embedded builtins 2018-04-17 08:27:48 +00:00
mozilla [test] Skip flaky test 2018-04-06 15:19:34 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Move DateTimeFormat.formatToParts to CPP from JS 2018-05-03 01:12:49 +00:00
unittests [wasm] Rename XXXOperand to XXXImmediate 2018-05-03 12:41:54 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-04-25 12:02:21 +00:00
webkit [builtins] Properly reject immediately throwing thenables. 2018-04-24 07:55:00 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00