v8/test
Adam Klein a9846ad451 Throw errors when assigning to const variables inside with
This code appears to have been wrong forever, as it only
threw in strict mode (presumably predating ES2015 const).

In order to get exactly the right behavior, special
handling of sloppy named function expressions is required.
Rather than polluting PropertyAttributes with another
dummy value, this CL simply adds a bool output argument
to Context::Lookup to indicate that case.

Bug: v8:6677
Change-Id: I34daa5080d291808f10cbaefc91d716f0b22963b
Reviewed-on: https://chromium-review.googlesource.com/602690
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47207}
2017-08-08 02:00:22 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest Throw errors when assigning to const variables inside with 2017-08-08 02:00:22 +00:00
common [wasm] Clarify source of runtime information for interpreter. 2017-08-07 18:14:23 +00:00
debugger [flags] Remove deprecated Hydrogen specific flags. 2017-08-03 12:14:49 +00:00
fuzzer [wasm] Move ScheduledErrorThrower to wasm-api.h 2017-08-03 08:45:58 +00:00
inspector [coverage] clamp to binary before merging. 2017-08-07 13:47:20 +00:00
intl Fix common misspellings 2017-08-02 09:35:28 +00:00
js-perf-test Add micro-benchmark for Proxy has property 2017-08-03 07:50:27 +00:00
memory
message [test] Add call-undeclared-constructor message test. 2017-08-02 07:31:31 +00:00
mjsunit Throw errors when assigning to const variables inside with 2017-08-08 02:00:22 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla Enable --harmony-strict-legacy-accessor-builtins by default 2017-08-02 21:30:57 +00:00
preparser
promises-aplus Fix common misspellings 2017-08-02 09:35:28 +00:00
test262 Fix common misspellings 2017-08-02 09:35:28 +00:00
unittests [Turbofan] Fixing A/B/C test operators in unittests 2017-08-07 17:12:36 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-07-25 14:55:07 +00:00
webkit Fix common misspellings 2017-08-02 09:35:28 +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