Skip to content

feat: identify the requesting frame and initiator on network, auth and download events (42-x-y) - #53705

Open
MarshallOfSound wants to merge 1 commit into
42-x-yfrom
bp/42-x-y/network-event-requester-identity
Open

feat: identify the requesting frame and initiator on network, auth and download events (42-x-y)#53705
MarshallOfSound wants to merge 1 commit into
42-x-yfrom
bp/42-x-y/network-event-requester-identity

Conversation

@MarshallOfSound

Copy link
Copy Markdown
Member

Backport of #53685

See that PR for details.

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

…d download events (#53685)

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

* webRequest listener details gain `initiator`, the origin that issued the
  request (kept from the original request across redirects, as in Chrome's
  webRequest API)
* protocol.handle() requests and ProtocolRequest gain `initiator`
* DownloadItem gains getInitiatorOrigin(); session 'will-download' gets a
  trailing `frame`
* session 'preconnect' gets a trailing `frame`
* specs for each

* docs: add API history PR reference

(cherry picked from commit f8335b6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport/requested 🗳 backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants