Bug 1098664 - fallback to manifest app type if metadata.json one is empty. r=gduan
Merge pull request #26332 from ochameau/customOrigin

Bug 1098664 - allows non-privileged app to specify a custom origin.