summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-15 21:56:48 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-15 21:56:48 -0400
commitc4dab618c7a3b5bdefa56ce3a7f923feac9d2bca (patch)
tree132f181ce3ed748b67d1cee729b7c2931682496c
parent990f16afd2019989acb3e0f9b5287b3eb764808e (diff)
downloadiceweasel-uxp-c4dab618c7a3b5bdefa56ce3a7f923feac9d2bca.tar.gz
Backport UXP #937 - A prompt should be shown for new foreign add-ons on start up
-rw-r--r--components/nsBrowserGlue.js2
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.