Closed
Bug 1248723
Opened 9 years ago
Closed 9 years ago
Loading extension 'null': Reading manifest: Missing required `applications.gecko.id` property
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nico.schloemer, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
Steps to reproduce:
I've created a (Web) Extension to be used with FF. To this end, I've created a manifest.json with the content
```
{
"manifest_version": 2,
"name": "Borderify",
"version": "1.0",
"default_locale": "en",
"applications": {
"gecko": {
"id": "borderify@mozilla.org"
}
},
"content_scripts": [
{
"matches": ["*://*.mozilla.org/*"],
"js": ["borderify.js"]
}
]
}
```
(Almost literally copied from the examples.)
Actual results:
Upon loading the extension, the Browser Console says
```
1455654993640 addons.webextension.<unknown> ERROR Loading extension 'null': Reading manifest: Missing required `applications.gecko.id` property
```
This is with FF Nightly 47.0a1 (2016-01-26).
Full console log:
```
1455654993645 addons.xpi WARN Invalid XPI: Error: Manifest file was missing required property applications (resource://gre/modules/addons/XPIProvider.jsm:872:13) JS Stack trace: findProp@XPIProvider.jsm:872:13 < getProp@XPIProvider.jsm:879:15 < loadManifestFromWebManifest<@XPIProvider.jsm:903:14 < TaskImpl_run@Task.jsm:315:40 < promise callback*TaskImpl_handleResultValue@Task.jsm:391:7 < TaskImpl_run@Task.jsm:323:13 < TaskImpl@Task.jsm:276:3 < createAsyncFunction/asyncFunction@Task.jsm:250:14 < loadManifestFromZipReader<@XPIProvider.jsm:1419:21 < TaskImpl_run@Task.jsm:315:40 < TaskImpl@Task.jsm:276:3 < createAsyncFunction/asyncFunction@Task.jsm:250:14 < AddonInstall.prototype.loadManifest<@XPIProvider.jsm:5477:26 < TaskImpl_run@Task.jsm:315:40 < TaskImpl@Task.jsm:276:3 < createAsyncFunction/asyncFunction@Task.jsm:250:14 < AddonInstall.prototype.initLocalInstall@XPIProvider.jsm:5137:5 < AddonInstall.createInstall@XPIProvider.jsm:6152:5 < this.XPIProvider.getInstallForFile@XPIProvider.jsm:3828:5 < callProviderAsync@AddonManager.jsm:254:12 < AddonManagerInternal.getInstallForFile/<.nextObject@AddonManager.jsm:2006:9 < AsyncObjectCaller.prototype.callNext@AddonManager.jsm:381:7 < AsyncObjectCaller@AddonManager.jsm:361:3 < AddonManagerInternal.getInstallForFile@AddonManager.jsm:2004:5 < this.AddonManager.getInstallForFile@AddonManager.jsm:3142:5 < buildNextInstall@extensions.js:1273:11 < gViewController.commands.cmd_installFromFile.doCommand@extensions.js:1279:9 < gViewController.doCommand@extensions.js:1449:5 < initialize/<@extensions.js:96:5 < EventListener.handleEvent*initialize@extensions.js:95:3 < EventListener.handleEvent*@extensions.js:78:1
```
Comment 1•9 years ago
|
||
Can you please attach the failing XPI?
| Reporter | ||
Comment 2•9 years ago
|
||
I can no longer reproduce the problem. I'll reopen if the error occurs again.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•