Bug 1250464 - Remove workaround to get path from AppsUtils.jsm. r=myk

This commit is contained in:
Marco Castelluccio 2016-03-09 23:43:15 +00:00
parent 7cff2da47e
commit 676ce65ca5

View File

@ -373,15 +373,6 @@ this.AppsUtils = {
#endif
debug(app.basePath + " isCoreApp: " + isCoreApp);
// Before bug 910473, this is a temporary workaround to get correct path
// from child process in mochitest.
let prefName = "dom.mozApps.auto_confirm_install";
if (Services.prefs.prefHasUserValue(prefName) &&
Services.prefs.getBoolPref(prefName)) {
return { "path": app.basePath + "/" + app.id,
"isCoreApp": isCoreApp };
}
return { "path": app.basePath + "/" + app.id,
"isCoreApp": isCoreApp };
},