• Gus Caplan's avatar
    [api] Redesign the Isolate PrepareStackTrace API · 1e758861
    Gus Caplan authored
    This CL replaces the stack trace parameter with a the array that is
    usually passed to the JS prepareStackTrace callback. This allows two
    important goals to be realized: 1) we can easily stringify individual
    frames and 2) we can (if needed) call back into JS from this callback
    with a usable structure. If, as is sometimes the case, a v8::StackTrace
    is needed, |v8::Exception::GetStackTrace| can be used on the exception
    that is passed to PrepareStackTraceCallback.
    
    Bug: v8:7637
    
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
    Change-Id: I57fa1f2b4552cc7f69351fe0918f4e59e3f5fce1
    Reviewed-on: https://chromium-review.googlesource.com/c/1266698Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56880}
    1e758861
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...