v8/third_party/inspector_protocol
Benedikt Meurer dc3eb44971 [inspector] Gracefully ignore non-dictionary values as session state.
The V8InspectorSessionImpl constructor accepts a state, as either text
or CBOR encoded, and generally ignores all invalid inputs, except for
the case where it's a valid value, but not a dictionary value, in which
case it'll leak the value and crash upon casting to a `DictionaryValue`.

This is purely an issue with the test driver, so no security impact on
Chromium in the wild.

Fixed: chromium:1281031
Change-Id: I7b4d0aea83370499b1274d3fa214a14dc098d2f2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3361838
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78490}
2022-01-05 11:12:04 +00:00
..
crdtp [numbers] Rename ConversionFlags:NO_FLAG to NO_CONVERSION_FLAGS 2021-11-11 22:04:22 +00:00
lib [inspector] Gracefully ignore non-dictionary values as session state. 2022-01-05 11:12:04 +00:00
templates Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
.clang-format [DevTools] Add V8InspectorSession::state(), which returns binary (CBOR). 2019-05-03 16:54:51 +00:00
BUILD.gn Reland "[build] Fix gn check failures in v8/third_party" 2021-04-30 16:26:19 +00:00
check_protocol_compatibility.py [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
code_generator.py Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
codereview.settings Roll inspector_protocol to 0d4255502019144a5dec5669d7992165ae8924e7. 2018-07-17 19:32:31 +00:00
concatenate_protocols.py [DevTools] Roll inspector_protocol (V8). 2019-07-03 10:41:47 +00:00
convert_protocol_to_json.py [DevTools] Roll inspector_protocol 2019-04-30 23:13:48 +00:00
inspector_protocol.gni Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
LICENSE [inspector] use own copy of third_party/inspector_protocol 2016-10-28 18:20:47 +00:00
OWNERS Add myself to OWNERS since I'm maintaining this package. 2020-01-08 22:24:20 +00:00
pdl.py Roll inspector_protocol to 35e8d2d89cb017d72cf905362672de77c978e1e 2021-05-15 01:24:37 +00:00
README.md [DevTools] Roll inspector_protocol (V8) (strtod) 2019-11-27 17:35:47 +00:00
README.v8 Roll inspector-protocol to 32cf5f2bf4dc20c73ead291e68d2e2f6b638cd57 2021-07-09 13:01:24 +00:00
roll.py Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00

Chromium inspector (devtools) protocol

This package contains code generators and templates for the Chromium inspector protocol.

The canonical location of this package is at https://chromium.googlesource.com/deps/inspector_protocol/

In the Chromium tree, it's rolled into https://cs.chromium.org/chromium/src/third_party/inspector_protocol/

In the V8 tree, it's rolled into https://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/

See also Contributing to Chrome Devtools Protocol.

To build and run the tests of the crdtp library, see CRDTP - Chrome DevTools Protocol.