[protocol] Create targets with CDPConnection instead of transport [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Simon Zünd (Gerrit)

unread,
Nov 5, 2025, 4:35:01 AM (2 days ago) Nov 5
to Devtools-frontend LUCI CQ, Alex Rudenko, devtools-rev...@chromium.org
Attention needed from Alex Rudenko

Simon Zünd added 1 comment

File front_end/core/protocol_client/InspectorBackend.ts
Line 265, Patchset 1 (Latest): } else {
router = new SessionRouter(new DevToolsCDPConnection(ConnectionTransport.getFactory()()));
}
Simon Zünd . resolved

I'll see if I can get rid of the transport factory all-together now. It would be better if we just create targets/connections/transport from the top-down and not inject it side-ways via the factory.

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Rudenko
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Id733bf66a07c9f5141bcd47d83a260ccc99eb917
Gerrit-Change-Number: 7123822
Gerrit-PatchSet: 1
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Wed, 05 Nov 2025 09:34:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
Nov 5, 2025, 4:36:45 AM (2 days ago) Nov 5
to Simon Zünd, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Simon Zünd

Alex Rudenko voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Simon Zünd
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Id733bf66a07c9f5141bcd47d83a260ccc99eb917
Gerrit-Change-Number: 7123822
Gerrit-PatchSet: 1
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Simon Zünd <szu...@chromium.org>
Gerrit-Comment-Date: Wed, 05 Nov 2025 09:36:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Simon Zünd (Gerrit)

unread,
Nov 5, 2025, 4:58:11 AM (2 days ago) Nov 5
to Alex Rudenko, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org

Simon Zünd voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Id733bf66a07c9f5141bcd47d83a260ccc99eb917
Gerrit-Change-Number: 7123822
Gerrit-PatchSet: 2
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Comment-Date: Wed, 05 Nov 2025 09:58:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Devtools-frontend LUCI CQ (Gerrit)

unread,
Nov 5, 2025, 5:08:26 AM (2 days ago) Nov 5
to Simon Zünd, Alex Rudenko, devtools-rev...@chromium.org

Devtools-frontend LUCI CQ submitted the change

Unreviewed changes

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
[protocol] Create targets with CDPConnection instead of transport

This is the final piece to the puzzle, now the MCP server can implement
a DevTools CDPConnection of it's own that uses puppeteer under the
hood, and pass it in when creating the root SDK.Target.

R=alexr...@chromium.org
Bug: 453469270
Change-Id: Id733bf66a07c9f5141bcd47d83a260ccc99eb917
Reviewed-by: Alex Rudenko <alexr...@chromium.org>
Commit-Queue: Simon Zünd <szu...@chromium.org>
Files:
  • M front_end/core/protocol_client/InspectorBackend.ts
  • M front_end/core/sdk/Target.ts
  • M front_end/core/sdk/TargetManager.ts
  • M front_end/entrypoints/node_app/app/NodeMain.ts
Change size: S
Delta: 4 files changed, 13 insertions(+), 12 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Alex Rudenko
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Id733bf66a07c9f5141bcd47d83a260ccc99eb917
Gerrit-Change-Number: 7123822
Gerrit-PatchSet: 3
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages