• jgruber's avatar
    [debug-wrapper] Further extend the debug wrapper · b06c4ce5
    jgruber authored
    This CL further extends the debug wrapper, migrates around 60 tests, and
    removes a few tests that use functionality we will not support anymore.
    
    In more detail:
    
    * Removed tests that use:
      * enable/disable individual breakpoints
      * invocationText()
      * the ScriptCollected event
      * showBreakPoints
      * evalFromScript (and similar)
      * mirror.constructedBy and mirror.referencedBy
      * event_data.promise()
    * Some frame.evaluate uses were adapted since due to differences between
      remote objects (inspector) and mirrors. For instance, exceptions are
      currently not recreated exactly, since the inspector protocol does not
      give us the stack and message separately. Other objects (such as
      'this' in debug-evaluate-receiver-before-super) need to be explicitly
      converted to a string before the test works correctly.
    * Ensure that inspector stores the script before sending ScriptParsed and
      ScriptFailedToParse events in order to be able to use the script from
      within those events.
    * Better remote object reconstruction (e.g. for undefined and arrays).
    * New functionality in wrapper:
      * debuggerFlags().breakPointsActive.setValue()
      * scripts()
      * execState.setVariableValue()
      * execState.scopeObject().value()
      * execState.scopeObject().property()
      * execState.frame().allScopes()
      * eventData.exception()
      * eventData.script()
      * setBreakPointsActive()
    
    BUG=v8:5530
    
    Review-Url: https://codereview.chromium.org/2497973002
    Cr-Commit-Position: refs/heads/master@{#41019}
    b06c4ce5
Name
Last commit
Last update
..
build Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
debugger-script.js Loading commit data...
debugger_script_externs.js Loading commit data...
injected-script-native.cc Loading commit data...
injected-script-native.h Loading commit data...
injected-script-source.js Loading commit data...
injected-script.cc Loading commit data...
injected-script.h Loading commit data...
injected_script_externs.js Loading commit data...
inspected-context.cc Loading commit data...
inspected-context.h Loading commit data...
inspector.gyp Loading commit data...
inspector.gypi Loading commit data...
inspector_protocol_config.json Loading commit data...
java-script-call-frame.cc Loading commit data...
java-script-call-frame.h Loading commit data...
js_protocol-1.2.json Loading commit data...
js_protocol.json Loading commit data...
protocol-platform.h Loading commit data...
remote-object-id.cc Loading commit data...
remote-object-id.h Loading commit data...
script-breakpoint.h Loading commit data...
search-util.cc Loading commit data...
search-util.h Loading commit data...
string-16.cc Loading commit data...
string-16.h Loading commit data...
string-util.cc Loading commit data...
string-util.h Loading commit data...
v8-console-agent-impl.cc Loading commit data...
v8-console-agent-impl.h Loading commit data...
v8-console-message.cc Loading commit data...
v8-console-message.h Loading commit data...
v8-console.cc Loading commit data...
v8-console.h Loading commit data...
v8-debugger-agent-impl.cc Loading commit data...
v8-debugger-agent-impl.h Loading commit data...
v8-debugger-script.cc Loading commit data...
v8-debugger-script.h Loading commit data...
v8-debugger.cc Loading commit data...
v8-debugger.h Loading commit data...
v8-function-call.cc Loading commit data...
v8-function-call.h Loading commit data...
v8-heap-profiler-agent-impl.cc Loading commit data...
v8-heap-profiler-agent-impl.h Loading commit data...
v8-injected-script-host.cc Loading commit data...
v8-injected-script-host.h Loading commit data...
v8-inspector-impl.cc Loading commit data...
v8-inspector-impl.h Loading commit data...
v8-inspector-session-impl.cc Loading commit data...
v8-inspector-session-impl.h Loading commit data...
v8-internal-value-type.cc Loading commit data...
v8-internal-value-type.h Loading commit data...
v8-profiler-agent-impl.cc Loading commit data...
v8-profiler-agent-impl.h Loading commit data...
v8-regex.cc Loading commit data...
v8-regex.h Loading commit data...
v8-runtime-agent-impl.cc Loading commit data...
v8-runtime-agent-impl.h Loading commit data...
v8-schema-agent-impl.cc Loading commit data...
v8-schema-agent-impl.h Loading commit data...
v8-stack-trace-impl.cc Loading commit data...
v8-stack-trace-impl.h Loading commit data...
v8-value-copier.cc Loading commit data...
v8-value-copier.h Loading commit data...