What steps will reproduce the problem?
1. Go through the wizard, setting the box to not show the addon in the
extension manager and add some extensions to the generated CCK extension
2. Extract the XPI into (firefox path)\distribution\bundles\(extension ID)
3. Open Firefox
What is the expected output? What do you see instead?
The extensions should be installed when Firefox is opened, but they are not.
What version of the product are you using? On what operating system?
Firefox 24.1.0, CCK Wizard 1.4, Windows 7 Pro SP1 64-bit
Please provide any additional information below.
Initial debugging shows that the code that initiates the installation is never
run.
peppering the log() helper function into lines 64-77 of cckModule.jsm shows
that:
* the "final-ui-startup" handler is executed
* init() is run to completion without errors (as the execution of the handler
was not halted)
* `Cc["@mozilla.org/extensions/manager;1"]` is false
* the AddonManager module is imported
* the AddonManager.getAddonByID("THEID") callback is passed null as its sole
parameter.
This occurs whether or not Firefox was started with an existing profile or
created a new profile during startup and whether or not the CCK extension was
built with the hide-from-extension-manager-window option selected.
I can provide the XPIs (one for each state of the
hide-from-extension-manager-window option) privately, if necessary.
Original issue reported on code.google.com by apol...@gmail.com on 1 Nov 2013 at 4:15
Original issue reported on code.google.com by
apol...@gmail.com
on 1 Nov 2013 at 4:15