deepak1556

#55119: fix: proxy non-network worker URL loader factories

Merged
Created: Oct 19, 2026, 2:21:54 PM
Merged: Oct 22, 2026, 10:19:52 AM
5 comments
Target: main

Description of Change

Fixes #55111

WorkerScriptFetcher::CreateFactoryBundle populates pending_scheme_specific_factories() directly from non_network_factories without calling WillCreateURLLoaderFactory, causing non-network scheme worker main script and subresource requests to bypass ProxyingURLLoaderFactory.

This was left out in https://chromium-review.googlesource.com/c/chromium/src/+/1738606 since upstream doesn't exercise extension webrequest over non-network schemes.

Release Notes

Notes: Fixed non-network Web Worker requests (such as file:// and custom schemes) bypassing protocol.handle() and webRequest handlers.

Backports

43-x-y
Pending
Waiting for a manual backport
44-x-y
Pending
Waiting for a manual backport
45-x-y
Pending
Waiting for a manual backport

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