Closed
Bug 567173
Opened 15 years ago
Closed 15 years ago
An add-on with an invalid id can be installed
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b1
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: robert.strong.bugs, Unassigned)
References
Details
(Whiteboard: [AddonsRewrite])
Found while writing the tests for bug 546595.
I was able to install an add-on With an install.rdf as follows
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>undefined</em:id>
<em:version>2.0</em:version>
<em:bootstrap>true</em:bootstrap>
<em:name>test1</em:name>
<em:description>Test Description</em:description>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.0</em:minVersion>
<em:maxVersion>99.0</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
using
AddonManager.getInstallForFile(xpiFile, function(install) {
install.install();
});
The following was displayed in the error console
Updated•15 years ago
|
blocking2.0: --- → beta1+
Updated•15 years ago
|
Flags: in-testsuite?
Flags: in-litmus-
Whiteboard: [rewrite] → [AddonsRewrite]
Updated•15 years ago
|
blocking2.0: beta1+ → final+
Comment 1•15 years ago
|
||
Fixed by the patch in bug 570200
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•15 years ago
|
Target Milestone: mozilla1.9.3a5 → mozilla1.9.3
Comment 2•15 years ago
|
||
Verified fixed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a6pre) Gecko/20100611 Minefield/3.7a6pre
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Target Milestone: mozilla1.9.3 → mozilla1.9.3a6
You need to log in
before you can comment on or make changes to this bug.
Description
•