From 95ed859f0fd5e6d842c5277e3866faa2a54daaac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 14 May 2022 14:16:56 +0200 Subject: [PATCH] src: use non-deprecated V8 inspector API --- src/inspector_agent.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc index 34bb11e7d7122c..ef11021263b5c5 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -217,7 +217,10 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel, bool prevent_shutdown) : delegate_(std::move(delegate)), prevent_shutdown_(prevent_shutdown), retaining_context_(false) { - session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView()); + session_ = inspector->connect(CONTEXT_GROUP_ID, + this, + StringView(), + V8Inspector::ClientTrustLevel::kFullyTrusted); node_dispatcher_ = std::make_unique(this); tracing_agent_ = std::make_unique(env, main_thread_);