downloadURL
Initiates a download of the resource at url
. The API will generate a DownloadItem that can be accessed with the will-download event.
!NOTE This does not perform any security checks that relate to a page's origin, unlike
webContents.downloadURL
.