mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
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:
parent
1a0051392c
commit
f34628ff10
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user