getInitiatorOrigin
The origin that started the download (for example https://example.com, or null for an opaque origin), or an empty string if the download was not started by web content (for example webContents.downloadURL()). Use this rather than getURL() or the webContents to decide whose download it is: the URL is chosen by the initiator and the webContents is the whole tab.