From 8dc98aeeaee4c827501662325eebcfd97471323a Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Wed, 8 Feb 2023 21:40:37 -0800 Subject: [PATCH] chore: remove load-url event (#37174) --- lib/browser/api/web-contents.ts | 1 - 1 file changed, 1 deletion(-) 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; };