Closed
Bug 1411123
Opened 7 years ago
Closed 6 years ago
Re-enabling an extension that overrides the home page does not update about:preferences correctly
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox57 unaffected, firefox58 wontfix, firefox59 wontfix, firefox60 verified)
VERIFIED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox60 | --- | verified |
People
(Reporter: bsilverberg, Assigned: mstriemer)
Details
Attachments
(3 files)
If you install an extension that overrides the home page, then disable it, then restart Firefox, then re-enable it, the home page is overridden but about:preferences doesn't include the expected controls around the home page. STR: 1. Install an extenion which overrides the home page from a file via about:addons. 2. Check about:preferences. All appears as expected: home page is overidden and user can not edit it without disabling the extension. 3. Disable the extension. 4. Check about:preferences. All appears as expected: home page is back to the default and user can edit it. 5. Shut down Firefox normally. 6. Start Firefox. 7. Go to about:addons and enable the extension. 8. Check about:preferences. It does not appear as expected: The home page value is overidden, but it is editable by the user and the message for disabling the extension is not present. I am attaching a manifest.json file that can be used to generate an extension to reproduce this issue. Note that we tested this on 57 and Nightly and it reproduces on Nightly but not on 57.
Reporter | ||
Updated•7 years ago
|
status-firefox57:
--- → unaffected
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
I think this is happening because ExtensionSettingsStore.addSetting() only updates the value of the setting. If it is disabled, it stays disabled. Calling addSetting() should likely enable the setting.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mstriemer
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8945628 [details] Bug 1411123 - Enable settings when set in ExtensionSettingsStore https://reviewboard.mozilla.org/r/215758/#review221504
Attachment #8945628 -
Flags: review?(aswan) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e7974162770 Enable settings when set in ExtensionSettingsStore r=aswan
Keywords: checkin-needed
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8e7974162770
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment 6•6 years ago
|
||
I was able to reproduce this bug in Firefox 58.0a1(20171023220222). Retested and verified the bug in Firefox 60.0a1(20180205100240) on Windows 10 64Bit and Mac OS X 10.13.2.
Updated•6 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•6 years ago
|
||
should we get this in 59?
Comment 10•6 years ago
|
||
This is fixed in 60, are you able to reproduce it in Firefox Beta? If so, please spell out the exact steps you took.
Flags: needinfo?(alexkjones)
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•