From 8e1207721cea33405dabc5dbb87be45d861f97c4 Mon Sep 17 00:00:00 2001 From: Hamzah Date: Thu, 11 Jul 2019 15:12:26 +0000 Subject: [PATCH] Bug 1510351 - Remove unused code in PluginChild.jsm r=prathiksha Differential Revision: https://phabricator.services.mozilla.com/D36524 --HG-- extra : moz-landing-system : lando --- browser/actors/PluginChild.jsm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/browser/actors/PluginChild.jsm b/browser/actors/PluginChild.jsm index a3c35e27a507..150ba9c93e47 100644 --- a/browser/actors/PluginChild.jsm +++ b/browser/actors/PluginChild.jsm @@ -1229,10 +1229,5 @@ class PluginChild extends ActorChild { messageString, pluginID, }); - - // Remove the notification when the page is reloaded. - doc.defaultView.top.addEventListener("unload", event => { - this.hideNotificationBar("plugin-crashed"); - }); } }