Closed Bug 1735047 Opened 3 years ago Closed 3 years ago

browserSettings.zoomSiteSpecific.set does not call ExtensionPreferencesManager.setSetting

Categories

(WebExtensions :: Untriaged, defect, P3)

Firefox 93
defect

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: dw-dev, Assigned: dw-dev)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

Installed Zoom Page WE extension. Depending on the options configured in Zoom Page WE Options, the 'browser.zoom.siteSpecific' preference may be set to 'false'.

Actual results:

When Zoom Page WE is disabled or uninstalled, the 'browser.zoom.siteSpecific' preference remains set to 'false'.

Expected results:

When Zoom Page WE extension is disabled or uninstalled, the 'browser.zoom.siteSpecific' preference should be reset to 'true' (the normal default value).

The browser.browserSettings.zoomSiteSpecific.set API should be changed to call ExtensionPreferencesManager.setSetting.

Similarly, the browser.browserSettings.zoomFullPage.set API should be changed to call ExtensionPreferencesManager.setSetting.

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Product: Firefox → WebExtensions
Severity: -- → S4
Priority: -- → P3

Please can you assign this bug to me.

I am the developer of the Zoom Page WE extension and I implemented the browserSettings.zoomFullPage and browserSettings.zoomSiteSpecific APIs.

I already have a tested patch that fixes this bug.

Flags: needinfo?(tomica)

Sure dw-dev, thank you.

I think just submitting a patch on Pahbricator will assign you automatically, but I'll do it now.

If you'd like editbugs permission, please follow these steps, happy to vouch for you: https://wiki.mozilla.org/BMO/UserGuide#How_to_apply_for_upgraded_permissions

Assignee: nobody → dw-dev
Flags: needinfo?(tomica)
  • browser.browserSettings.zoomSiteSpecific.set() now calls ExtensionPreferencesManager.setSetting().
  • browser.browserSettings.zoomFullPage.set() now calls ExtensionPreferencesManager.setSetting().
Attachment #9245952 - Attachment description: Bug 1735047 Patch 1; r?mixedpuppy → Bug 1735047 - Validate extension setting values for zoom settings; r?mixedpuppy
Attachment #9245952 - Attachment description: Bug 1735047 - Validate extension setting values for zoom settings; r?mixedpuppy → Bug 1735047 Patch 1; r?mixedpuppy
Attachment #9245952 - Attachment description: Bug 1735047 Patch 1; r?mixedpuppy → Bug 1735047 - Validate extension setting values for zoom settings; r?mixedpuppy

Shane, Please can you add a "testing-approved" tag to this patch in Phabricator, so that it can land in Lando. I tried adding this tag, which appeared to work, but was then rejectd by Herald.

Flags: needinfo?(mixedpuppy)
Pushed by scaraveo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f03d181a0b42
Validate extension setting values for zoom settings; r=mixedpuppy
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Flags: needinfo?(mixedpuppy)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: