Add-on does not run after update the Add-on

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
4 years ago
2 years ago

People

(Reporter: alice0775, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Add-on does not run after update the Add-on and restart.
Remove the updated add-on > Restart > Re-install the updated add-on, then the add-on works again.

Steps To Reproduce:
1. Start Firefox with newly created profile
2. Install http://downloads.mozdev.org/userchromejs/userChromeJS-1.5.xpi and Restart
3. Exit Browser completely

4. Edit [the profile folder]\chrome\userChrome.js
   and add the following code and save it
//==============================================
 if (location.href == "chrome://browser/content/browser.xul") {
  var prompts = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
                          .getService(Components.interfaces.nsIPromptService);
  prompts.alert(null, "userChromeJS", "Hello!");
//==============================================
}
5. Delete startupCache folder

6. Start Firefox with the profile
  ---- an alert box(Hello!) should pop up as expected

7. Install new version of http://downloads.mozdev.org/userchromejs/userChromeJS-1.6.xpi and Restart
  ---- no alert box pops up --- this is BUG!

Actual Results:
Add-on does not run after update the Add-on.

Expected Results:
Add-on should work after update the Add-on.
(Reporter)

Updated

4 years ago
Component: General → Add-ons Manager
Product: Core → Toolkit
(Reporter)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.