v8/test/inspector
clemensh 12cdb31b2f [inspector] Introduce debug::WasmScript
*and* report all "virtual" wasm scripts right when the wasm script is
registered at the inspector.

WasmScript is a subtype of Script, with the cast checking that it is
actually a wasm script.
This layout makes it quite easy to implement functionality that is only
available for wasm scripts, and allows to later directly use the
WasmCompiledModule instead of the i::Script for backing the
debug::WasmScript. We might also add virtual methods to
provide different implementations for GetSourcePosition, Source and
others.

DisassembleWasmFunction now also becomes a method of this class instead
of a static function on the DebugInterface.

The WasmTranslation now uses the new WasmScript type instead of the
Script wrapper, and also registers all virtual wasm scripts immediately
when the wasm script is made public to the inspector (when the wasm
module is created).

R=yangguo@chromium.org,dgozman@chromium.org,titzer@chromium.org
BUG=chromium:613110,chromium:659715

Review-Url: https://codereview.chromium.org/2531163010
Cr-Commit-Position: refs/heads/master@{#41519}
2016-12-06 13:20:36 +00:00
..
console Avoid using stale InspectedContext pointers 2016-10-26 20:27:12 +00:00
cpu-profiler [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
debugger [inspector] Introduce debug::WasmScript 2016-12-06 13:20:36 +00:00
runtime Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
DEPS [inspector] finish test runner gracefully.. 2016-10-19 02:04:48 +00:00
inspector-impl.cc [inspector] removed old v8_inspector::Channel API 2016-11-29 19:31:23 +00:00
inspector-impl.h [inspector] added inspector test runner [part 3] 2016-10-02 18:10:39 +00:00
inspector-test.cc [inspector] added Debugger.getPossibleBreakpoints method 2016-11-04 19:59:48 +00:00
inspector.gyp Fix inspector test in components build 2016-10-18 20:08:12 +00:00
inspector.isolate [inspector] conditionally copy files for inspector test. 2016-10-24 10:57:37 +00:00
inspector.status [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
json-parse-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
json-parse.js [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
OWNERS [inspector] added inspector test runner [part 1] 2016-09-30 15:52:46 +00:00
protocol-test.js [inspector] Introduce debug::WasmScript 2016-12-06 13:20:36 +00:00
task-runner.cc [inspector] added Debugger.getPossibleBreakpoints method 2016-11-04 19:59:48 +00:00
task-runner.h [inspector] added Debugger.getPossibleBreakpoints method 2016-11-04 19:59:48 +00:00
testcfg.py [inspector] added inspector test runner [part 4] 2016-10-02 19:41:28 +00:00