v8/test/inspector/debugger
Alexey Kozyatinskiy a11b0d962d [inspector] improve this value for arrow function in scopes
Currently we incorrectly show global object as arrow function receiver.
With this CL:
- if this is used inside of function we show correct this value,
- if this is unused and V8 optimizes it out - we show undefined.

Second is known issue which we should address separately.

R=dgozman@chromium.org,yangguo@chromium.org

Bug: chromium:552753
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Iac88a07fe622eb9b2f8af7ecbc4a32a56c8cdfaa
Reviewed-on: https://chromium-review.googlesource.com/723840
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48839}
2017-10-23 16:40:29 +00:00
..
resources [inspector] added master test for break locations 2017-02-27 20:20:39 +00:00
access-obsolete-frame-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
access-obsolete-frame.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
asm-js-breakpoint-before-exec-expected.txt Reland "[Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile" 2017-08-17 13:21:44 +00:00
asm-js-breakpoint-before-exec.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
asm-js-breakpoint-during-exec-expected.txt [test] Rebaseline inspector test. 2017-08-11 08:28:30 +00:00
asm-js-breakpoint-during-exec.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
asm-js-stack-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
asm-js-stack.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +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] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-for-await-of-promise-stack-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-for-await-of-promise-stack.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-instrumentation-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-instrumentation.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-promise-late-then-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-promise-late-then.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-set-timeout-expected.txt [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
async-set-timeout.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-stack-await-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-stack-await.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-stack-created-frame-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-stack-created-frame.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
async-stack-for-promise-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
async-stack-for-promise.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
break-location-function-calls-expected.txt [inspector] fixed getPossibleBreakpoints 2017-06-07 13:25:52 +00:00
break-location-function-calls.js [inspector] fixed getPossibleBreakpoints 2017-06-07 13:25:52 +00:00
break-locations-await-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
break-locations-await.js [inspector] removed break location right before suspension in async function 2017-05-31 12:15:09 +00:00
break-locations-var-init-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
break-locations-var-init.js [inspector] moved var initialization break location before init expression (reland) 2017-05-30 12:54:49 +00:00
break-on-exception-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
break-on-exception.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
breakpoints-expected.txt [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
breakpoints.js [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
call-frame-function-location-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
call-frame-function-location.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
call-frame-url-expected.txt [inspector] added url to Debugger.CallFrame 2017-09-07 16:39:31 +00:00
call-frame-url.js [inspector] added url to Debugger.CallFrame 2017-09-07 16:39:31 +00:00
caught-exception-from-framework-inside-async-expected.txt [inspector] merged IsSubjectToDebugging and IsBlackboxed and fixed issue 2017-03-10 17:44:35 +00:00
caught-exception-from-framework-inside-async.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +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] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
clear-breakpoints-on-disable-expected.txt [inspector] don't call clearAllBreakpoints 2017-07-31 21:23:27 +00:00
clear-breakpoints-on-disable.js [inspector] don't call clearAllBreakpoints 2017-07-31 21:23:27 +00:00
collect-obsolete-async-tasks-expected.txt [inspector] removed kDebugPromiseCollected event 2017-04-20 15:49:02 +00:00
collect-obsolete-async-tasks.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
collect-old-async-call-chains-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
collect-old-async-call-chains.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
command-line-api-with-bound-function-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
command-line-api-with-bound-function.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
continue-to-location-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
continue-to-location-target-call-frames-expected.txt [inspector] added targetCallFrames for continueToLocation 2017-05-16 21:52:49 +00:00
continue-to-location-target-call-frames.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
continue-to-location.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
destory-in-break-program-expected.txt [inspector] improved V8Debugger::breakProgram method 2017-04-25 22:55:45 +00:00
destory-in-break-program.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
doesnt-step-into-injected-script-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
doesnt-step-into-injected-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
es6-module-script-parsed-expected.txt [inspector] added length for scriptParsed notification 2017-03-07 22:01:37 +00:00
es6-module-script-parsed.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
es6-module-set-script-source-expected.txt [inspector] return meaningful error on Debug.setScriptSource for ES module 2017-02-03 22:10:04 +00:00
es6-module-set-script-source.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
eval-scopes-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
eval-scopes.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-on-call-frame-in-module-expected.txt [inspector] expose module variables for Debugger.evaluateOnCallFrame method 2017-06-14 14:58:12 +00:00
evaluate-on-call-frame-in-module.js [inspector] expose module variables for Debugger.evaluateOnCallFrame method 2017-06-14 14:58:12 +00:00
for-of-loops-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
for-of-loops.js [inspector] moved var initialization break location before init expression (reland) 2017-05-30 12:54:49 +00:00
framework-break-expected.txt [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
framework-break.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
framework-nested-scheduled-break-expected.txt [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
framework-nested-scheduled-break.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
framework-precise-ranges-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
framework-precise-ranges.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
framework-stepping-expected.txt [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
framework-stepping.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-possible-breakpoints-array-literal-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-possible-breakpoints-array-literal.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-possible-breakpoints-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
get-possible-breakpoints-lazy-error-expected.txt [inspector] entered into context before getPossibleBreakpoints call 2017-05-01 19:44:13 +00:00
get-possible-breakpoints-lazy-error.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-possible-breakpoints-master-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
get-possible-breakpoints-master.js [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
get-possible-breakpoints-restrict-to-function-expected.txt [inspector] moved var initialization break location before init expression (reland) 2017-05-30 12:54:49 +00:00
get-possible-breakpoints-restrict-to-function.js [inspector] moved var initialization break location before init expression (reland) 2017-05-30 12:54:49 +00:00
get-possible-breakpoints.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
inspector-break-api-expected.txt [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
inspector-break-api.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
max-async-call-chain-depth-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
max-async-call-chain-depth.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
max-async-call-stack-depth-changed-expected.txt [inspector] added V8InspectorClient::maxAsyncCallStackDepthChanged 2017-10-18 19:49:57 +00:00
max-async-call-stack-depth-changed.js [inspector] added V8InspectorClient::maxAsyncCallStackDepthChanged 2017-10-18 19:49:57 +00:00
not-hold-promises-expected.txt [inspector] test to check that we don't hold resolved promises 2017-06-06 17:43:55 +00:00
not-hold-promises.js [inspector] test to check that we don't hold resolved promises 2017-06-06 17:43:55 +00:00
object-preview-internal-properties-expected.txt [inspector] improved injected-script-source 2017-08-25 23:43:42 +00:00
object-preview-internal-properties.js [inspector] improved injected-script-source 2017-08-25 23:43:42 +00:00
pause-at-negative-offset-expected.txt [inspector] allow negative line and column in Location 2017-08-11 16:07:17 +00:00
pause-at-negative-offset.js [inspector] allow negative line and column in Location 2017-08-11 16:07:17 +00:00
pause-expected.txt [inspector] Return error when paused in different context group 2017-06-06 18:45:52 +00:00
pause-on-oom-expected.txt [inspector] unconditionally pause on OOM 2017-01-18 21:35:09 +00:00
pause-on-oom.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
pause.js [inspector] Return error when paused in different context group 2017-06-06 18:45:52 +00:00
promise-chain-when-limit-hit-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
promise-chain-when-limit-hit.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-string-to-double-locale-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-string-to-double-locale.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
provisional-breakpoint-for-anonymous-script-expected.txt [inspector] provisional breakpoints for anonymous script 2017-10-07 19:08:35 +00:00
provisional-breakpoint-for-anonymous-script.js [inspector] provisional breakpoints for anonymous script 2017-10-07 19:08:35 +00:00
restore-breakpoint-expected.txt [inspector] restore provisional breakpoints smarter 2017-02-28 16:14:27 +00:00
restore-breakpoint.js [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
return-break-locations-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
return-break-locations.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
schedule-step-into-async-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
schedule-step-into-async-set-timeout-expected.txt [inspector] support setTimeout in Debugger.scheduleStepIntoAsync method 2017-03-30 14:42:24 +00:00
schedule-step-into-async-set-timeout.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
schedule-step-into-async.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
scope-skip-variables-with-empty-name-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
scope-skip-variables-with-empty-name.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
script-end-location-expected.txt [inspector] fixed endLine in Debugger.scriptParsed event 2017-03-03 06:58:11 +00:00
script-end-location.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
script-on-after-compile-expected.txt [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +00:00
script-on-after-compile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
script-parsed-for-runtime-evaluate-expected.txt [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +00:00
script-parsed-for-runtime-evaluate.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
script-parsed-hash-expected.txt [inspector] fixed script-parsed-hash.js test 2017-08-10 07:00:53 +00:00
script-parsed-hash.js [inspector] fixed script-parsed-hash.js test 2017-08-10 07:00:53 +00:00
set-async-call-stack-depth-expected.txt [inspector] use creation stack trace as parent for async call chains 2017-05-11 19:21:24 +00:00
set-async-call-stack-depth.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-blackbox-patterns-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
set-blackbox-patterns.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-breakpoint-at-last-line-expected.txt Reland "[inspector] breakpoint after last break position should not jump to first line" 2017-10-16 22:04:55 +00:00
set-breakpoint-at-last-line.js Reland "[inspector] breakpoint after last break position should not jump to first line" 2017-10-16 22:04:55 +00:00
set-breakpoint-before-enabling-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-breakpoint-before-enabling.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-script-source-2-expected.txt [inspector] move SetScriptSource call to native 2017-07-28 21:55:05 +00:00
set-script-source-2.js [inspector] move SetScriptSource call to native 2017-07-28 21:55:05 +00:00
set-script-source-exception-expected.txt [inspector] return meaningful error on Debug.setScriptSource for ES module 2017-02-03 22:10:04 +00:00
set-script-source-exception.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-script-source-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-script-source.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-skip-all-pauses-expected.txt [inspector] Support multiple sessions per context group 2017-06-01 21:33:59 +00:00
set-skip-all-pauses.js [inspector] Support multiple sessions per context group 2017-06-01 21:33:59 +00:00
side-effect-free-debug-evaluate-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
side-effect-free-debug-evaluate.js [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
step-into-expected.txt [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
step-into-nested-arrow-expected.txt [debugger] correctly find inner function scope. 2017-03-14 16:35:19 +00:00
step-into-nested-arrow.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-into-next-script-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
step-into-next-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-into.js [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
step-out-async-await-expected.txt [inspector] added test for StepOut at return postion from async function 2017-03-28 21:14:19 +00:00
step-out-async-await.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-over-another-context-group-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
step-over-another-context-group.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-over-caught-exception-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-over-caught-exception.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
step-snapshot-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
step-snapshot.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-after-get-possible-breakpoints-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-after-get-possible-breakpoints.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-and-break-program-api-expected.txt [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
stepping-and-break-program-api.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-ignores-injected-script-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-ignores-injected-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-tail-call-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
stepping-tail-call.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-with-blackboxed-ranges-expected.txt [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
stepping-with-blackboxed-ranges.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-with-exposed-injected-script-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-with-exposed-injected-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stepping-with-natives-and-frameworks-expected.txt [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
stepping-with-natives-and-frameworks.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
suspended-generator-scopes-expected.txt [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
suspended-generator-scopes.js [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
this-in-arrow-function-expected.txt [inspector] improve this value for arrow function in scopes 2017-10-23 16:40:29 +00:00
this-in-arrow-function.js [inspector] improve this value for arrow function in scopes 2017-10-23 16:40:29 +00:00
update-call-frame-scopes-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
update-call-frame-scopes.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-get-breakable-locations-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-get-breakable-locations.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-imports-expected.txt [wasm] Use spec'ed location format 2017-06-09 15:04:36 +00:00
wasm-imports.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-scope-info-expected.txt [wasm] Decode local names for debugging 2017-07-03 09:53:03 +00:00
wasm-scope-info.js [wasm] Decode local names for debugging 2017-07-03 09:53:03 +00:00
wasm-scripts-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-scripts.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-source-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-source.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
wasm-stack-expected.txt [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
wasm-stack.js [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
wasm-stepping-expected.txt [wasm] Decode local names for debugging 2017-07-03 09:53:03 +00:00
wasm-stepping.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00