This is a backport PR for branch 42-x-y
#53143: perf: stop routing renderer requests and file loads through the main thread
Merged
Backport of #53115
See that PR for details. Same adjustments as the 43-x-y backport (plain new for the self-deleting factories), plus context conflicts in electron_api_web_contents.cc, electron_api_web_contents.h and electron_browser_context.h (GetURLLoaderFactory is not an override here).
Notes: Page resources, fetch() calls and file:// loads in renderers no longer wait for the main process to be idle when no webRequest listeners or protocol interceptors are registered.
Backport Information
Original PR Author
codebytereOriginal PR Status
Merged
Original PR Merged At
Aug 24, 2026, 7:02:55 AM
Original PR Link
View on GitHubSemver 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