Bug 818674 - "ReferenceError: manifest is not defined" in Webapps.jsm inline function readCSPs. r=fabrice

This commit is contained in:
Jens Hatlak 2012-12-07 18:07:04 +01:00
parent de680b681f
commit 714d91c5f3

View File

@ -158,7 +158,7 @@ this.DOMApplicationRegistry = {
// twice
this._readManifests(ids, (function readCSPs(aResults) {
aResults.forEach(function registerManifest(aResult) {
this.webapps[aResult.id].csp = manifest.csp || "";
this.webapps[aResult.id].csp = aResult.manifest.csp || "";
}, this);
}).bind(this));