• Sigurd Schneider's avatar
    Fix monitor for arrow functions · 9c40b865
    Sigurd Schneider authored
    Our current logic for the console API's monitor implementation relies on
    JavaScript's arguments array. In arrow functions, this results in an
    error, resulting missing print statements from monitor.
    
    This CL at least re-enables the print statements, but does not print the
    arguments in the case of arrow functions.
    
    Change-Id: Ibf6c2a0fb5e0cc911c257520a59a875992fe3777
    Bug: chromium:1206137
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2880216Reviewed-by: 's avatarPhilip Pfaffe <pfaffe@chromium.org>
    Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74437}
    9c40b865
Name
Last commit
Last update
..
console Loading commit data...
counters Loading commit data...
cpu-profiler Loading commit data...
debugger Loading commit data...
heap-profiler Loading commit data...
regress Loading commit data...
runtime Loading commit data...
runtime-call-stats Loading commit data...
sessions Loading commit data...
type-profiler Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
frontend-channel.h Loading commit data...
inspector-test.cc 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...
print-method-not-found-expected.txt Loading commit data...
print-method-not-found.js Loading commit data...
protocol-test.js Loading commit data...
task-runner.cc Loading commit data...
task-runner.h Loading commit data...
tasks.cc Loading commit data...
tasks.h Loading commit data...
testcfg.py Loading commit data...
utils.cc Loading commit data...
utils.h Loading commit data...
wasm-inspector-test.js Loading commit data...