Bug 1510351 - Remove unused code in PluginChild.jsm r=prathiksha
☠☠ backed out by fbf2f5bb84f8 ☠ ☠
authorHamzah <hamzah18051@iiitd.ac.in>
Tue, 02 Jul 2019 17:23:30 +0000
changeset 543817 4b8c3e09e73f8cb7b3a70c16ab7720eba050e868
parent 543816 45e3ee06123d32659fa81100d37d706731ed2fb1
child 543818 1b11f4ec5050f6a74166160522ef03f79e022a56
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprathiksha
bugs1510351
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1510351 - Remove unused code in PluginChild.jsm r=prathiksha Differential Revision: https://phabricator.services.mozilla.com/D36524
browser/actors/PluginChild.jsm
--- a/browser/actors/PluginChild.jsm
+++ b/browser/actors/PluginChild.jsm
@@ -1010,14 +1010,10 @@ class PluginChild extends ActorChild {
 
     let messageString =
       gNavigatorBundle.formatStringFromName("crashedpluginsMessage.title",
                                             [pluginName]);
 
     this.mm.sendAsyncMessage("PluginContent:ShowPluginCrashedNotification",
                                  { messageString, pluginID });
 
-    // Remove the notification when the page is reloaded.
-    doc.defaultView.top.addEventListener("unload", event => {
-      this.hideNotificationBar("plugin-crashed");
-    });
   }
 }