mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1250464 - Remove workaround to get path from AppsUtils.jsm. r=myk
This commit is contained in:
parent
7cff2da47e
commit
676ce65ca5
@ -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 };
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user