Bug 1641888 - Remove no more used 'unload' event listener. r=harry

Differential Revision: https://phabricator.services.mozilla.com/D77470
This commit is contained in:
Marco Bonardo 2020-05-29 15:07:41 +00:00
parent 0fe5bfa8fa
commit 96775851b2

View File

@ -59,7 +59,6 @@ class UrlbarInput {
this.window = this.textbox.ownerGlobal;
this.isPrivate = PrivateBrowsingUtils.isWindowPrivate(this.window);
this.document = this.window.document;
this.window.addEventListener("unload", this);
// Create the panel to contain results.
this.textbox.appendChild(