Bug 828161 - Firefox OS cannot start up due to an exception: "Webapps.jsm: non-relative URI passed to resolveFromOrigin". r=mounir

This commit is contained in:
Gene Lian 2013-01-09 15:35:52 +08:00
parent 92c5a1cca1
commit 15cd333a99

View File

@ -469,7 +469,7 @@ ManifestHelper.prototype = {
resolveFromOrigin: function(aURI) {
// This should be enforced higher up, but check it here just in case.
if (!isAbsoluteURI(aURI)) {
if (isAbsoluteURI(aURI)) {
throw new Error("Webapps.jsm: non-relative URI passed to resolveFromOrigin");
}
return this._origin.resolve(aURI);