v8/test/inspector
Alexey Kozyatinskiy 6a65e6deef [inspector] don't create negative location for isBlackboxed check
V8 provides ScriptCompiler::CompileFunctionInContext method which takes expression and compile it as anonymous function like (function() .. expression ..). To produce correct locations for stmts inside of this expression V8 compile this function with negative offset. Instead of stmt position blackboxing use function start position which is negative in described case.

Bug: chromium:705963
Change-Id: I86b113198fb59e77b3bbf523c8cd943e22f8a6ca
Reviewed-on: https://chromium-review.googlesource.com/519384
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45637}
2017-05-31 14:02:03 +00:00
..
console [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
cpu-profiler [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
debugger [inspector] don't create negative location for isBlackboxed check 2017-05-31 14:02:03 +00:00
heap-profiler [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
runtime Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +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 [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
inspector.gyp [inspector] Merge InspectorClientImpl into IsolateData 2017-05-22 00:48:27 +00:00
inspector.isolate [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
inspector.status [js] Avoid %_ClassOf for collection builtins. 2017-05-05 10:22:17 +00:00
isolate-data.cc Update module APIs to return Maybe<bool> 2017-05-29 12:29:43 +00:00
isolate-data.h [inspector] Cleanup inspector test 2017-05-22 20:46:42 +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 [inspector] moved var initialization break location before init expression (reland) 2017-05-30 12:54:49 +00:00
task-runner.cc [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
task-runner.h [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
testcfg.py [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00