mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: remove load-url event (#37174)
This commit is contained in:
@@ -465,7 +465,6 @@ WebContents.prototype.loadURL = function (url, options) {
|
||||
// Add a no-op rejection handler to silence the unhandled rejection error.
|
||||
p.catch(() => {});
|
||||
this._loadURL(url, options);
|
||||
this.emit('load-url', url, options);
|
||||
return p;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user