mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Bug 846754 - Remove transient notification bars for background-tab location changes. r=mak
This commit is contained in:
parent
070814effa
commit
175f3de714
@ -4771,6 +4771,11 @@ var TabsProgressListener = {
|
||||
if (!Object.getOwnPropertyDescriptor(window, "PopupNotifications").get)
|
||||
PopupNotifications.locationChange(aBrowser);
|
||||
|
||||
// Only handle background browsers as long as the selected browser is
|
||||
// handled in XULBrowserWindow.onLocationChange (bug 839516).
|
||||
if (aBrowser != gBrowser.selectedBrowser)
|
||||
gBrowser.getNotificationBox(aBrowser).removeTransientNotifications();
|
||||
|
||||
FullZoom.onLocationChange(aLocationURI, false, aBrowser);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user