diff --git a/lib/browser/api/web-contents.ts b/lib/browser/api/web-contents.ts index 43f9158058d5..19a574e8091e 100644 --- a/lib/browser/api/web-contents.ts +++ b/lib/browser/api/web-contents.ts @@ -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; };