Skip to content

test: add coverage for DevTools embedder messages - #55932

Merged
MarshallOfSound merged 2 commits into
mainfrom
test/devtools-embedder-messages
Nov 18, 2026
Merged

MarshallOfSound merged 2 commits into
mainfrom
test/devtools-embedder-messages

Conversation

@claude

@claude claude Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Requested by David Babenko-Sanders · Slack thread

Description of Change

This adds specs that drive DevTools' embedder messages from inside the DevTools frontend. They cover loading network resources (http, file and custom-protocol URLs, plus 404 and invalid-URL responses), the open-in-new-tab and search-in-new-tab events, storing preferences and keeping them per partition, workspace search in a folder, and reattaching the frontend to a new debugging session. These specs haven't been run locally because this environment couldn't build Electron, so CI is their first run.

Checklist

Release Notes

Notes: none


Generated by Claude Code

@claude claude Bot added the semver/none label Nov 18, 2026
The loadNetworkResource spec looked up the response header in lowercase,
but the embedder reports header names as the server sent them (the same
as Chrome's DevToolsUIBindings), so check the name the test server uses.

Also add one helper that builds DevTools frontend calls with JSON-escaped
arguments, one for indexing a path and waiting for it, and reuse the
match found while waiting for a frontend callback.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NayLZkUudSeUBJhCBEjMmi
@dsanders11 dsanders11 added target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. target/46-x-y PR should also be added to the "46-x-y" branch. labels Nov 18, 2026
@dsanders11
dsanders11 marked this pull request as ready for review November 18, 2026 22:35
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) November 18, 2026 22:43
@MarshallOfSound
MarshallOfSound merged commit 6d1696b into main Nov 18, 2026
97 of 98 checks passed
@MarshallOfSound
MarshallOfSound deleted the test/devtools-embedder-messages branch November 18, 2026 22:43
@release-clerk

release-clerk Bot commented Nov 18, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "46-x-y", please check out #55938

@trop trop Bot removed the target/46-x-y PR should also be added to the "46-x-y" branch. label Nov 18, 2026
@trop

trop Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "44-x-y", please check out #55939

@trop

trop Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "45-x-y", please check out #55940

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@trop trop Bot added in-flight/45-x-y merged/46-x-y PR was merged to the "46-x-y" branch. and removed target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. in-flight/46-x-y in-flight/44-x-y labels Nov 18, 2026
@trop trop Bot added merged/44-x-y PR was merged to the "44-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. and removed in-flight/45-x-y labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

47-x-y merged/44-x-y PR was merged to the "44-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. merged/46-x-y PR was merged to the "46-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants