Bug 888908 - When the location bar is missing, don't auto-popup the plugin notification (ever). It will still pop up when clicking the in-page UI. And Australis will make this code moot anyway, r=jaws

--HG--
extra : rebase_source : 69b7a078b7202a9806eaa33829d6107062e5a589
This commit is contained in:
Benjamin Smedberg 2013-07-17 09:21:02 -04:00
parent 02c59c8c53
commit 5d426fcffa

View File

@ -766,8 +766,7 @@ var gPluginHandler = {
fallbackType == plugin.PLUGIN_BLOCKLISTED;
});
let dismissed = notification ? notification.dismissed : true;
// Always show the doorhanger if the anchor is not available.
if (!isElementVisible(gURLBar) || aPrimaryPlugin)
if (aPrimaryPlugin)
dismissed = false;
let primaryPluginPermission = null;