v8/test/inspector
Georg Neis c3bd741efd 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}
2017-12-12 12:09:49 +00:00
..
console [inspector] rewritten test/inspector/let-const-with-api.js 2017-08-01 15:36:02 +00:00
cpu-profiler [coverage] Include operators in Conditional ranges 2017-11-20 12:09:30 +00:00
debugger Fix "this" value in lazily-parsed module functions. 2017-12-12 12:09:49 +00:00
heap-profiler [heap-profiler] Allow intermediate sampling heap profile retrieval during recording. 2017-11-06 22:22:55 +00:00
runtime [builtins] implement RunMicrotasks pump as a code stub 2017-12-04 17:55:29 +00:00
sessions [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
type-profiler [type-profile] Use vector list from isolate 2017-10-17 14:10:52 +00:00
BUILD.gn [inspector] Merge InspectorClientImpl into IsolateData 2017-05-22 00:48:27 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-test.cc Reland [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 20:56:10 +00:00
inspector.gyp [inspector] Merge InspectorClientImpl into IsolateData 2017-05-22 00:48:27 +00:00
inspector.isolate [type-profile] Incorporate into inspector protocol. 2017-09-08 09:46:12 +00:00
inspector.status [test] Rebaseline inspector test. 2017-08-11 08:28:30 +00:00
isolate-data.cc Reland [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 20:56:10 +00:00
isolate-data.h Reland [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 20:56:10 +00:00
json-parse-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
json-parse.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
protocol-test.js Reland [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 20:56:10 +00:00
task-runner.cc [cleanup] Fix (D)CHECK macros in src/{debug,inspector} 2017-09-25 12:20:59 +00:00
task-runner.h [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
testcfg.py Remove shell info from testcase. 2017-11-16 15:42:26 +00:00