• 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
..
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-testing.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...