From 676ce65ca5bdcfe4727e69daa33d6fc58bb2cbd5 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 9 Mar 2016 23:43:15 +0000 Subject: [PATCH] Bug 1250464 - Remove workaround to get path from AppsUtils.jsm. r=myk --- dom/apps/AppsUtils.jsm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dom/apps/AppsUtils.jsm b/dom/apps/AppsUtils.jsm index 39abea754b27..05d4fcc32331 100644 --- a/dom/apps/AppsUtils.jsm +++ b/dom/apps/AppsUtils.jsm @@ -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 }; },