Repository navigation
test: add coverage for DevTools embedder messages - #55932
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NayLZkUudSeUBJhCBEjMmi
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
approved these changes
Nov 18, 2026
dsanders11
marked this pull request as ready for review
November 18, 2026 22:35
MarshallOfSound
approved these changes
Nov 18, 2026
|
No Release Notes |
This was referenced Nov 18, 2026
Contributor
|
I have automatically backported this PR to "46-x-y", please check out #55938 |
Contributor
|
I have automatically backported this PR to "44-x-y", please check out #55939 |
Contributor
|
I have automatically backported this PR to "45-x-y", please check out #55940 |
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
npm testpassesRelease Notes
Notes: none
Generated by Claude Code