This is a backport PR for branch 43-x-y
#53142: perf: stop routing renderer requests and file loads through the main thread
Merged
Backport of #53115
See that PR for details. This branch's network::SelfDeletingURLLoaderFactory predates base::SelfDeleting, so AsarURLLoaderFactory and the new URLLoaderFactoryGate are constructed with plain new on the IO thread (with the existing NewDeleteLeaks NOLINT) instead of base::MakeSelfDeleting; plus the electron_api_web_contents.h context conflict.
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