Closed
Bug 304581
Opened 19 years ago
Closed 19 years ago
Firefox doesn't check the minVersion field of an extension correctly
Categories
(Toolkit :: Add-ons Manager, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: brian-mozilla, Unassigned)
Details
Attachments
(1 file)
|
499 bytes,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 I'm writing a Firefox extension and I'd like to specify version 1.0.3 in the <em:minVersion> tag of the install.rdf file so as to require automatic XPCNativeWrapper support. However, when I specify a version above 1.0.0, I get a message saying the plugin can't be installed. I'm running 1.0.6. Reproducible: Always Steps to Reproduce: 1. testcase.xpi (attached) to a local directory) 2. open it in Firefox 1.0.6 on Linux 3. click "Install Now" Actual Results: I get an "Incaompatible Extension" dialog saying that the plugin will only run with Firefox versions from 1.0.6 to 1.1. Expected Results: Since this is 1.0.6, it should have installed.
| Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
The design is to check minVersion and maxVersion against the value of the app.extensions.version pref. This value has always been in the format of x.x with an optional + and has never supported checking a format of x.x.x. Also, a couple of patches have landed on the trunk that would make this possible. For example bug 300731
Severity: normal → enhancement
| Reporter | ||
Comment 3•19 years ago
|
||
Thanks for the explanation. Maybe the documentation should be updated, then? It doesn't explain anything about which version number format to use: http://www.mozilla.org/projects/firefox/extensions/packaging/extensions.html
Comment 4•19 years ago
|
||
There is documentation that is on the page that links to the page you reference http://www.mozilla.org/projects/firefox/extensions/update.html Not as friendly or clear as one might like but it is there
Comment 5•19 years ago
|
||
I updated docs on http://developer.mozilla.org/en/docs/Install_Manifests and http://kb.mozillazine.org/Install.rdf to mention this. You may want to file a bug to fix the left mozilla.org document.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•