• Alexey Kozyatinskiy's avatar
    [inspector] improve this value for arrow function in scopes · a11b0d96
    Alexey Kozyatinskiy authored
    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: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48839}
    a11b0d96
Name
Last commit
Last update
..
console Loading commit data...
cpu-profiler Loading commit data...
debugger Loading commit data...
heap-profiler Loading commit data...
runtime Loading commit data...
sessions Loading commit data...
type-profiler Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
inspector-test.cc Loading commit data...
inspector.gyp Loading commit data...
inspector.isolate Loading commit data...
inspector.status Loading commit data...
isolate-data.cc Loading commit data...
isolate-data.h Loading commit data...
json-parse-expected.txt Loading commit data...
json-parse.js Loading commit data...
protocol-test.js Loading commit data...
task-runner.cc Loading commit data...
task-runner.h Loading commit data...
testcfg.py Loading commit data...