Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c10988d

Browse filesBrowse files
committed
src: use non-deprecated V8 inspector API
PR-URL: #44741 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 53f73d1 commit c10988d
Copy full SHA for c10988d

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎src/inspector_agent.cc‎

Copy file name to clipboardExpand all lines: src/inspector_agent.cc
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel,
217217
bool prevent_shutdown)
218218
: delegate_(std::move(delegate)), prevent_shutdown_(prevent_shutdown),
219219
retaining_context_(false) {
220-
session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView());
220+
session_ = inspector->connect(CONTEXT_GROUP_ID,
221+
this,
222+
StringView(),
223+
V8Inspector::ClientTrustLevel::kFullyTrusted);
221224
node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this);
222225
tracing_agent_ =
223226
std::make_unique<protocol::TracingAgent>(env, main_thread_);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.