diff --git a/browser/modules/WebappsInstaller.jsm b/browser/modules/WebappsInstaller.jsm index a03b16c19cc4..2916fe4e86f4 100644 --- a/browser/modules/WebappsInstaller.jsm +++ b/browser/modules/WebappsInstaller.jsm @@ -22,6 +22,12 @@ let WebappsInstaller = { */ install: function(aData) { + try { + if (Services.prefs.getBoolPref("browser.mozApps.installer.dry_run")) { + return true; + } + } catch (ex) {} + #ifdef XP_WIN let shell = new WinNativeApp(aData); #elifdef XP_MACOSX