mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
* 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
437 B
437 B
ProtocolRequest Object
urlstringreferrerstringinitiatorOriginstring (optional) - The origin that issued the request (for examplehttps://example.com, ornullfor an opaque origin). Absent for requests the browser started itself. Unlikereferrer, this is not controlled by the requesting page.methodstringuploadDataUploadData[] (optional)headersRecord<string, string>