v8/test
Sathya Gunasekaran d8e1c4840c [parser] Improve error message for destructuring non iterable
Print the object that is being destructured and update the error 
message.

Previously,
  d8> var [a] = {}
  (d8):1: TypeError: [Symbol.iterator] is not a function

Now,
  d8> var [a] = {}
  (d8):1: TypeError: {} is not iterable

Bug: v8:6513, v8:5532
Change-Id: I5cbfe7c7e20632bce1a48bd38a1b0c98d0ff0660
Reviewed-on: https://chromium-review.googlesource.com/557370
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Caitlin Potter <caitp@igalia.com>
Cr-Commit-Position: refs/heads/master@{#46457}
2017-07-06 19:57:44 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [parser] Improve error message for destructuring non iterable 2017-07-06 19:57:44 +00:00
common [wasm] Use pending exceptions consistently 2017-06-29 10:23:45 +00:00
debugger [elements] Rename FAST elements kinds 2017-06-30 13:31:44 +00:00
fuzzer [wasm][fuzzer] Handle Interpreter step limit exhaustion. 2017-06-22 14:28:53 +00:00
inspector [coverage] Reduce the number of reported ranges 2017-07-06 15:42:05 +00:00
intl Remove icu_case_mapping flag 2017-06-29 03:47:27 +00:00
js-perf-test [builtins] Array.map should transition output arrays. 2017-07-05 14:08:08 +00:00
memory
message [parser] Improve error message for destructuring non iterable 2017-07-06 19:57:44 +00:00
mjsunit [parser] Improve error message for destructuring non iterable 2017-07-06 19:57:44 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla [test] Fix test status file simulator_run not evaluate to boolean error 2017-06-28 21:32:19 +00:00
preparser
promises-aplus
test262 [intl] Implement Intl.NumberFormat.prototype.formatToParts 2017-06-30 20:14:18 +00:00
unittests Reland [wasm] Check the size of a function body before storing it 2017-07-06 17:37:57 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-06-30 14:59:27 +00:00
webkit [parser] Improve error message for destructuring non iterable 2017-07-06 19:57:44 +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 [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00