This is a backport PR for branch 42-x-y
codebytere

#53143: perf: stop routing renderer requests and file loads through the main thread

Merged
Created: Aug 24, 2026, 7:13:59 AM
Merged: Aug 24, 2026, 4:03:40 PM
1 comments
Target: 42-x-y

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
codebytere
Original PR Status
Merged
Original PR Merged At
Aug 24, 2026, 7:02:55 AM
Original PR Link
GitHubView on GitHub

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