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 : 71a035bf35cd8bb7910d54c34df073c3daf654e7
This commit is contained in:
Benjamin Smedberg 2013-07-19 10:02:47 -04:00
parent f789c0245d
commit a309313cb4

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;