Repository navigation
[chrome] fix chrome.debugger - #75765
Open
erwanjugand wants to merge 1 commit into
Open
erwanjugand wants to merge 1 commit into
erwanjugand wants to merge 1 commit into
Conversation
Contributor
|
@erwanjugand Thank you for submitting this PR! This is a live comment that I will keep updated. 1 package in this PRCode ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 75765,
"author": "erwanjugand",
"headCommitOid": "2e9bd03d38b7a9df8c559223d7907b42417e7fd1",
"mergeBaseOid": "3aab8ab07c7a3ccf49c1d126df3f5ab7de71a3fa",
"lastPushDate": "2026-10-10T16:02:15.000Z",
"lastActivityDate": "2026-10-10T16:02:15.000Z",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"tooManyCommits": false,
"tooManyReviews": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "chrome",
"version": "0.3",
"kind": "edit",
"files": [
{
"path": "types/chrome/index.d.ts",
"kind": "definition"
},
{
"path": "types/chrome/test/index.ts",
"kind": "test"
}
],
"owners": [
"MatCarlson",
"JasonXian",
"usertim",
"nicolas377",
"idosal",
"fregante",
"erwanjugand"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [],
"mainBotCommentID": 6099418366,
"ciResult": "pass"
} |
Contributor
|
🔔 @matcarlson @JasonXian @userTim @nicolas377 @idosal @fregante — please review this PR in the next few days. Be sure to explicitly select |
erwanjugand
force-pushed
the
fix-debugger
branch
from
October 10, 2026 16:02
ab26bd9 to
2e9bd03
Compare
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.
Please fill in this template.
pnpm test <package to test>.If changing an existing definition:
package.json.Notes:
fix
chrome.debugger.sendCommand:replace
objectby{ [key: string]: unknown }can override params and result :
This allows developers to override the types, which could come from ChromeDevTools/devtools-protocol.
I'm not sure whether it would be better to include the library directly in
@types/chrome. Feel free to share your thoughts on this! :)align callback with the other types (callback = sync, without = async).
fix
chrome.debugger.onEvent: replaceobjectby{ [key: string]: unknown }