#51062: fix: show 'Electron Isolated Context' in Dev Tools
Merged
Created: Apr 14, 2026, 7:40:03 PM
Merged: Apr 16, 2026, 2:48:10 AM
8 comments
Target: main
Description of Change
Because of a bug after the upstream refactor Dev Tools stopped showing 'Electron Isolated Context' in the execution context selector. 'Electron Isolated Context' runs with origin set to file://. Since domain name is empty for the origin the respective UI item in the context selector is created with an empty subtitle. However, with the upstream change items with either of title or subtitle are omitted from rendering.
Here we float an in-review patch until it is fixed upstream.
See #51048
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
-
npm testpasses - tests are changed or added
- relevant API documentation, tutorials, and examples are updated and follow the documentation style guide
- PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Fixed absent 'Electron Isolated Context' in the execution context dropdown in Dev Tools.
Backports
41-x-y
MergedPR Number
#51078Merged At
Apr 16, 2026, 12:21:48 PM
Released In
v41.2.2Release Date
Apr 21, 2026, 1:05:43 AM
42-x-y
MergedPR Number
#51079Merged At
Apr 16, 2026, 12:22:50 PM
Released In
v42.0.0-beta.4Release Date
Apr 16, 2026, 6:43:45 PM
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron