v8/test/inspector/debugger
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
..
access-obsolete-frame-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
access-obsolete-frame.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
asm-js-breakpoint-before-exec-expected.txt [debugger] do not use asm validator for debug code. 2016-11-11 15:13:31 +00:00
asm-js-breakpoint-before-exec.js Fix detection of BUILTIN functions 2016-10-28 06:48:44 +00:00
asm-js-breakpoint-during-exec-expected.txt Fix detection of BUILTIN functions 2016-10-28 06:48:44 +00:00
asm-js-breakpoint-during-exec.js Fix detection of BUILTIN functions 2016-10-28 06:48:44 +00:00
asm-js-stack-expected.txt [debug] [reland] Consistently use script from FrameMirror 2016-10-18 08:19:28 +00:00
asm-js-stack.js [debug] [reland] Consistently use script from FrameMirror 2016-10-18 08:19:28 +00:00
async-console-count-doesnt-crash-expected.txt [inspector] test for fixed empty stack processing in console.count 2016-10-03 21:10:53 +00:00
async-console-count-doesnt-crash.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
break-on-exception-expected.txt [inspector] move changeBreakpointState from debugger-script to native 2016-10-19 02:00:57 +00:00
break-on-exception.js [inspector] move changeBreakpointState from debugger-script to native 2016-10-19 02:00:57 +00:00
call-frame-function-location-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
call-frame-function-location.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
caught-uncaught-exceptions-expected.txt [inspector] Add exception caught/uncaught status to protocol 2016-11-10 07:58:48 +00:00
caught-uncaught-exceptions.js [inspector] Add exception caught/uncaught status to protocol 2016-11-10 07:58:48 +00:00
command-line-api-with-bound-function-expected.txt [inspector] fix test expectations for command-line-api-with-bound-function 2016-10-06 16:20:15 +00:00
command-line-api-with-bound-function.js [inspector] command line api debug and monitor works with bound functions 2016-10-05 17:59:06 +00:00
continue-to-location-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
continue-to-location.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
doesnt-step-into-injected-script-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
doesnt-step-into-injected-script.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
eval-scopes-expected.txt [debug] Add Eval scope type to inspector protocol 2016-11-23 07:30:23 +00:00
eval-scopes.js [debug] Add Eval scope type to inspector protocol 2016-11-23 07:30:23 +00:00
get-possible-breakpoints-array-literal-expected.txt Compiling an array literal should be context-independent. 2016-11-14 10:46:33 +00:00
get-possible-breakpoints-array-literal.js Compiling an array literal should be context-independent. 2016-11-14 10:46:33 +00:00
get-possible-breakpoints-expected.txt [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
get-possible-breakpoints.js [inspector] fix positions for single expression arrow function 2016-11-09 15:37:14 +00:00
object-preview-internal-properties-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
object-preview-internal-properties.js [inspector] filter useless in preview internal properties 2016-10-07 01:16:28 +00:00
scope-skip-variables-with-empty-name-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
scope-skip-variables-with-empty-name.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
script-on-after-compile-expected.txt [debugger] simplify fetching scripts for inspector. 2016-11-04 13:55:26 +00:00
script-on-after-compile.js [debugger] simplify fetching scripts for inspector. 2016-11-04 13:55:26 +00:00
script-parsed-for-runtime-evaluate-expected.txt [inspector] introduced Script::TYPE_INSPECTOR 2016-11-17 04:39:47 +00:00
script-parsed-for-runtime-evaluate.js [inspector] introduced Script::TYPE_INSPECTOR 2016-11-17 04:39:47 +00:00
script-parsed-hash-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
script-parsed-hash.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-blackbox-patterns-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
set-blackbox-patterns.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-breakpoint-before-enabling-expected.txt Roll third_party/inspector_protocol to cf45a6e89b17cdc9eeacdef4c003fcc55f7ec2a0 2016-11-01 22:33:39 +00:00
set-breakpoint-before-enabling.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-script-source-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
set-script-source.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
step-over-caught-exception-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
step-over-caught-exception.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
stepping-after-get-possible-breakpoints-expected.txt [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
stepping-after-get-possible-breakpoints.js [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
stepping-with-blackboxed-ranges-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
stepping-with-blackboxed-ranges.js [inspector] finish test runner gracefully.. 2016-10-19 02:04:48 +00:00
suspended-generator-scopes-expected.txt [inspector] Expose scopes for suspended generator objects 2016-11-24 07:32:40 +00:00
suspended-generator-scopes.js [inspector] Expose scopes for suspended generator objects 2016-11-24 07:32:40 +00:00
update-call-frame-scopes-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
update-call-frame-scopes.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
wasm-scripts-expected.txt [inspector] Introduce debug::WasmScript 2016-12-06 13:20:36 +00:00
wasm-scripts.js [inspector] Introduce debug::WasmScript 2016-12-06 13:20:36 +00:00
wasm-source-expected.txt [wasm] Implement official wasm text format 2016-11-22 11:59:56 +00:00
wasm-source.js [inspector] Add test case for wasm source 2016-11-17 10:18:16 +00:00
wasm-stack-expected.txt [wasm] Implement official wasm text format 2016-11-22 11:59:56 +00:00
wasm-stack.js [inspector] Introduce translation of wasm frames 2016-11-16 23:36:24 +00:00