chore: remove load-url event (#37174)
This commit is contained in:
parent
35a9e67dba
commit
8dc98aeeae
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue