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

View File

@@ -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;
};