Closed
Bug 735874
Opened 13 years ago
Closed 13 years ago
Add-on options should show/hide when add-on is enabled/disabled
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox13 verified, firefox14 verified)
VERIFIED
FIXED
Firefox 14
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
Attachments
(2 files)
5.64 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
2.92 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Install an add-on with options.
2. Open the add-on manager and tap on the add-on.
4. Disable the add-on.
Expected results: Add-on options are hidden.
Actual results: Add-on options are still visible and enabled.
5. Quit and then re-start the browser.
6. Open the add-on manager and tap on the add-on.
7. Enable the add-on.
Expected results: Add-on options are visible.
Actual results: Add-on options are still hidden.
Assignee | ||
Comment 1•13 years ago
|
||
This patch factors out some duplicate code in the enable/disable functions.
It also fixes the code to disable the previously-active theme. This was broken because it called "this.disable(addon)" while the disable() method does not actually take any arguments.
Attachment #605972 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 2•13 years ago
|
||
We can't load options for add-ons that are disabled at startup, so we need to retry when the add-on is enabled.
Attachment #605973 -
Flags: review?(mark.finkle)
Comment 3•13 years ago
|
||
Comment on attachment 605972 [details] [diff] [review]
1/2: refactor enable/disable methods
Nice refactor
Attachment #605972 -
Flags: review?(mark.finkle) → review+
Updated•13 years ago
|
Attachment #605973 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b9a25a297c9
https://hg.mozilla.org/integration/mozilla-inbound/rev/60c732729b69
Target Milestone: --- → Firefox 14
Comment 5•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4b9a25a297c9
https://hg.mozilla.org/mozilla-central/rev/60c732729b69
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/1feb4846ca08
https://hg.mozilla.org/releases/mozilla-aurora/rev/21ec29a1a6f9
status-firefox13:
--- → fixed
status-firefox14:
--- → fixed
![]() |
||
Comment 7•13 years ago
|
||
Verified/fixed on:
Aurora Fennec 13.0a2 (2012-03-27)
Nightly Fennec 14.0a1 (2012-03-27)
Device: Samsung Nexus S
OS: Android 2.3.6
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•