diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-15 21:56:48 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-15 21:56:48 -0400 |
commit | c4dab618c7a3b5bdefa56ce3a7f923feac9d2bca (patch) | |
tree | 132f181ce3ed748b67d1cee729b7c2931682496c /components | |
parent | 990f16afd2019989acb3e0f9b5287b3eb764808e (diff) | |
download | iceweasel-uxp-c4dab618c7a3b5bdefa56ce3a7f923feac9d2bca.tar.gz |
Backport UXP #937 - A prompt should be shown for new foreign add-ons on start up
Diffstat (limited to 'components')
-rw-r--r-- | components/nsBrowserGlue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/nsBrowserGlue.js b/components/nsBrowserGlue.js index 5c05442..b85e94d 100644 --- a/components/nsBrowserGlue.js +++ b/components/nsBrowserGlue.js @@ -930,7 +930,7 @@ BrowserGlue.prototype = { // them to the user. let changedIDs = AddonManager.getStartupChanges(AddonManager.STARTUP_CHANGE_INSTALLED); if (changedIDs.length > 0) { - let win = this.getMostRecentBrowserWindow(); + let win = RecentWindow.getMostRecentBrowserWindow(); AddonManager.getAddonsByIDs(changedIDs, function(aAddons) { aAddons.forEach(function(aAddon) { // If the add-on isn't user disabled or can't be enabled then skip it. |