• Johannes Henkel's avatar
    [DevTools] Add V8InspectorSession::state(), which returns binary (CBOR). · b7134d3a
    Johannes Henkel authored
    Keep the existing method for compatibility, by converting
    to json from CBOR using the inspector_protocol_encoding library,
    via a v8 specific interface library that directs routines for
    converting between strings and doubles to v8's implementations.
    
    This change also brings in the encoding.h / encoding.cc files from the
    upstream inspector_protocol project. The only modification here
    are the header guards, and the namespace. I will fix roll.py to
    make it so that we pick up future changes.
    
    third_party/inspector_protocol/BUILD.gn is specific to v8, by necessity.
    third_party/inspector_protocol/.clang-format is a copy of the upstream
    file. If we don't put this, we'll find ourselves auto-formatting the roll,
    which is annoying.
    
    Change-Id: I20fa8759164e7a39f8a7c30e0d2a3f8a7e4be227
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1590627Reviewed-by: 's avatarAlexei Filippov <alph@chromium.org>
    Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
    Commit-Queue: Johannes Henkel <johannes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61187}
    b7134d3a
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...