Skip to content

feat: WebContents.getOrCreateDevToolsTargetId()#50176

Merged
jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-feat-webcontents-getorcreatedevtoolstargetid--1773088378758
Mar 10, 2026
Merged

feat: WebContents.getOrCreateDevToolsTargetId()#50176
jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-feat-webcontents-getorcreatedevtoolstargetid--1773088378758

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop Bot commented Mar 9, 2026

Backport of #49733

See that PR for details.

Notes: Added webContents.getOrCreateDevToolsTargetId().

* Feat: support getDevToolsId() on WebContents

* Rename to `getOrCreateDevToolsTargetId`

* build: use spawn instead of spawnSync for build (#49774)

* Fix build

* formatting

---------

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

Co-authored-by: Kyle Cutler <67761731+kycutler@users.noreply.github.com>
@trop trop Bot requested a review from a team March 9, 2026 20:33
@trop trop Bot added 41-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Mar 9, 2026
@jkleinsc
Copy link
Copy Markdown
Member

Backport approved by @electron/wg-releases

@jkleinsc jkleinsc merged commit 3678edf into 41-x-y Mar 10, 2026
119 of 120 checks passed
@jkleinsc jkleinsc deleted the trop/41-x-y-bp-feat-webcontents-getorcreatedevtoolstargetid--1773088378758 branch March 10, 2026 16:22
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Mar 10, 2026

Release Notes Persisted

Added webContents.getOrCreateDevToolsTargetId().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

41-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant