chore: remove load-url event (#37174)

This commit is contained in:
Jeremy Rose 2023-02-08 21:40:37 -08:00 committed by GitHub
parent 35a9e67dba
commit 8dc98aeeae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,7 +465,6 @@ WebContents.prototype.loadURL = function (url, options) {
// Add a no-op rejection handler to silence the unhandled rejection error. // Add a no-op rejection handler to silence the unhandled rejection error.
p.catch(() => {}); p.catch(() => {});
this._loadURL(url, options); this._loadURL(url, options);
this.emit('load-url', url, options);
return p; return p;
}; };