MarshallOfSound

#53685: feat: identify the requesting frame and initiator on network, auth and download events

Merged
Created: Sep 7, 2026, 10:59:41 AM
Merged: Sep 7, 2026, 1:31:57 PM
8 comments
Target: main
  • webRequest listener details gain initiatorOrigin (the origin that issued the request, preserved across redirects) and frame.
  • protocol.handle() requests and ProtocolRequest gain initiatorOrigin.
  • DownloadItem.getInitiatorOrigin(); session will-download and preconnect get a trailing frame argument.

Notes: Added initiatorOrigin to webRequest and protocol handler requests, DownloadItem.getInitiatorOrigin(), and a trailing frame argument to the will-download and preconnect session events.

Backports

42-x-y
In-flight
PR Number
#53705
Waiting to be merged
43-x-y
In-flight
PR Number
#53704
Waiting to be merged
44-x-y
In-flight
PR Number
#53703
Waiting to be merged
45-x-y
In-flight
PR Number
#53700
Waiting to be merged

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