Bug 1462281 - Remove obsolete getNotificationBox function form browser.js. r?dthayer draft
authorDão Gottwald <dao@mozilla.com>
Thu, 17 May 2018 11:13:45 +0200
changeset 796236 ec1e0a2f6cb01667565b11f249f1c84c65e09995
parent 796087 1800b8895c08bc0c60302775dc0a4b5ea4deb310
push id110187
push userdgottwald@mozilla.com
push dateThu, 17 May 2018 09:14:11 +0000
reviewersdthayer
bugs1462281
milestone62.0a1
Bug 1462281 - Remove obsolete getNotificationBox function form browser.js. r?dthayer MozReview-Commit-ID: DudF9WpoHFD
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -7429,23 +7429,16 @@ const gRemoteControl = {
     if (enabled) {
       mainWindow.setAttribute("remotecontrol", "true");
     } else {
       mainWindow.removeAttribute("remotecontrol");
     }
   },
 };
 
-function getNotificationBox(aWindow) {
-  var foundBrowser = gBrowser.getBrowserForDocument(aWindow.document);
-  if (foundBrowser)
-    return gBrowser.getNotificationBox(foundBrowser);
-  return null;
-}
-
 function getTabModalPromptBox(aWindow) {
   var foundBrowser = gBrowser.getBrowserForDocument(aWindow.document);
   if (foundBrowser)
     return gBrowser.getTabModalPromptBox(foundBrowser);
   return null;
 }
 
 /* DEPRECATED */