v8/test
Georg Neis 585b39f53a Reland "Fix "this" value in lazily-parsed module functions."
This is a reland of c3bd741efd
Original change's description:
> Fix "this" value in lazily-parsed module functions.
>
> When preparsing top-level functions in a module, we didn't track
> unresolved variables. Consequently, "this" ended up referencing
> the global "this", which has the wrong value (in a module "this"
> is supposed to be the undefined value).
>
> This patch fixes that. This also lets us stop forcing context
> allocation of all variables in module scopes, which the patch
> takes care of as well.
>
> Bug: chromium:791334
> Change-Id: Ifac1f1adc033f3facfb3d29dd4bca32ee27bffcf
> Reviewed-on: https://chromium-review.googlesource.com/808938
> Reviewed-by: Marja Hölttä <marja@chromium.org>
> Reviewed-by: Adam Klein <adamk@chromium.org>
> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Commit-Queue: Georg Neis <neis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#50025}

TBR=adamk@chromium.org
TBR=kozyatinskiy@chromium.org

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel

Bug: chromium:791334
Change-Id: I57acc7b84a345565b36cbb55924fa2ff9b449eec
Reviewed-on: https://chromium-review.googlesource.com/822341
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50045}
2017-12-12 17:23:35 +00:00
..
benchmarks [test] Code cleanup in test suites. 2017-12-12 08:54:52 +00:00
cctest Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
common Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
debugger Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
fuzzer Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
inspector Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
intl [test] Deduplicate parsing source file flags. 2017-12-12 13:12:18 +00:00
js-perf-test [test] Add find-index.js to the list of resources for the test 2017-12-07 13:49:46 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [test] Deduplicate parsing source file flags. 2017-12-12 13:12:18 +00:00
mjsunit Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
mkgrokdump [test] Code cleanup in test suites. 2017-12-12 08:54:52 +00:00
mozilla [test] Common statusfile flag format for mozilla and test262. 2017-11-20 14:20:24 +00:00
preparser [test] Code cleanup in test suites. 2017-12-12 08:54:52 +00:00
promises-aplus Remove env field from testcase. 2017-11-16 15:26:06 +00:00
test262 [test] Prepare test262 sources during init. 2017-12-12 11:39:57 +00:00
unittests Implement DFA Unicode Decoder 2017-12-11 21:36:13 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-12-08 15:25:10 +00:00
webkit [test] Deduplicate parsing source file flags. 2017-12-12 13:12:18 +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 Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00