Closed
Bug 618957
Opened 15 years ago
Closed 8 years ago
[mozprofile] Multiple Item Packaged extensions are not correctly handled
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: davehunt, Unassigned)
Details
Add-ons that use Multiple Item Packaging (https://developer.mozilla.org/en/Multiple_Item_Packaging) are not being correctly handled correctly by Mozmill.
An example of this is the later releases of Selenium IDE, one of which can be found here: http://release.seleniumhq.org/selenium-ide/1.0.10/selenium-ide-1.0.10.xpi
Steps to reproduce:
1. Launch Mozmill via the command line interface, specifying Selenium IDE add-on version 1.0.10 (available at the above URL)
Expected:
In the launched Firefox instance, item 'Selenium IDE' should be available from the 'Tools' menu.
Actual:
Selenium IDE is not present in the Tools menu. In the profile, the various xpi files are present and have not been extracted as expected for this add-on.
| Reporter | ||
Updated•15 years ago
|
Whiteboard: [addon-selenium-ide]
The problems are not only related to muli-packages XPI's, but also to some extensions we fail on because we wrongly parse the install.rdf, i.e. Console2 (see bug 602284 comment 6).
Dave, what would be the best way for an external tool to install extensions into the users profile? We would need something better as:
https://github.com/mozautomation/mozmill/blob/master/mozprofile/mozprofile/profile.py#L98
Whiteboard: [addon-selenium-ide] → [addon-selenium-ide][mozmill-1.5.2?]
Comment 2•15 years ago
|
||
(In reply to comment #1)
> The problems are not only related to muli-packages XPI's, but also to some
> extensions we fail on because we wrongly parse the install.rdf, i.e. Console2
> (see bug 602284 comment 6).
>
> Dave, what would be the best way for an external tool to install extensions
> into the users profile? We would need something better as:
>
> https://github.com/mozautomation/mozmill/blob/master/mozprofile/mozprofile/profile.py#L98
Do you mean at runtime or at startup. For the former you'd be best off using the AddonManager.getInstallForFile method and APIs to install them but then you'd have to restart the app. At startup the only way really is to extract the XPI's into their correctly named directories in the profile.
(In reply to comment #2)
> Do you mean at runtime or at startup. For the former you'd be best off using
> the AddonManager.getInstallForFile method and APIs to install them but then
> you'd have to restart the app. At startup the only way really is to extract the
> XPI's into their correctly named directories in the profile.
It's always during start-up for Mozmill. Given your answer we would still have to parse the install.rdf for the extension id, so we can correctly set the name of the XPI or folder. That means we have to be more clever in parsing that file.
For the multi-packaged case we have to be even more clever.
I don't see any compelling case for doing this on 1.5.2. It's been this way a long time, and this is the first bug reported about it. I think I'm going to minus on this for 1.5.2.
Whiteboard: [addon-selenium-ide][mozmill-1.5.2?] → [addon-selenium-ide][mozmill-1.5.2-]
Dave, it doesn't stop our ongoing efforts to run Mozmill tests for the Selenium IDE, right? There is still a separate package for it we can use?
| Reporter | ||
Comment 6•15 years ago
|
||
Henrik: That's correct. Ultimately I would like to use the multi-xpi but for now we can use the core XPI that is packaged within the multi-xpi.
Thanks Dave. In that case and our ongoing efforts for add-on tests, I would really like to see a fix for 2.0 if possible. There are some more add-ons out there which are packaged that way.
Whiteboard: [addon-selenium-ide][mozmill-1.5.2-] → [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0]
Updated•15 years ago
|
Whiteboard: [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0] → [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0?]
This is definitely desired for 2.0, but I wouldn't hold the release for it. We've got a lot more important issues to solve for 2.0 first, and frankly there aren't that many of these multi-addons out there.
Whiteboard: [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0?] → [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0-wanted]
This is more a bug in mozprofile than Mozmill. Moving to the correct component.
Component: Mozmill → Mozbase
Summary: Multiple Item Packaged extensions are not correctly handled → [mozprofile] Multiple Item Packaged extensions are not correctly handled
Whiteboard: [addon-selenium-ide][mozmill-1.5.2-][mozmill-2.0-wanted]
Comment 10•8 years ago
|
||
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•