Skip to content

Commit 15f0a55

Browse files
camillobrunipthier
authored andcommitted
update deprecated v8 apis (#147)
Thanks for the update!
1 parent 926b30a commit 15f0a55

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/inspector_agent.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel,
219219
bool prevent_shutdown)
220220
: delegate_(std::move(delegate)), prevent_shutdown_(prevent_shutdown),
221221
retaining_context_(false) {
222-
session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView());
222+
session_ = inspector->connect(
223+
CONTEXT_GROUP_ID, this, StringView(), V8Inspector::kFullyTrusted);
223224
node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this);
224225
tracing_agent_ =
225226
std::make_unique<protocol::TracingAgent>(env, main_thread_);

0 commit comments

Comments
 (0)