mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 828835 - Return form installPreinstalledApp when coreAppsDir dosen't exist. r=fabrice
This commit is contained in:
parent
858069c9e0
commit
0d4ba3807a
@ -224,6 +224,9 @@ this.DOMApplicationRegistry = {
|
||||
let baseDir;
|
||||
try {
|
||||
baseDir = FileUtils.getDir("coreAppsDir", ["webapps", aId], false);
|
||||
if (!baseDir.exists()) {
|
||||
return;
|
||||
}
|
||||
} catch(e) {
|
||||
// In ENG builds, we don't have apps in coreAppsDir.
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user