Closed Bug 1288307 Opened 8 years ago Closed 8 years ago

chrome.tabs.setZoomSettings does not work

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1286953

People

(Reporter: wbamberg, Unassigned)

Details

Attachments

(1 file)

Attached file set-zoom-settings.zip (deleted) —
I've attached an add-on that tries to disable zooming using setZoomSettings, when the user clicks the browser action. It works in Chrome, and gives me this error in Firefox: Unsupported zoom settings: {"mode":"disabled","scope":null,"defaultZoomFactor":null} Looking at the code: http://searchfox.org/mozilla-central/source/browser/components/extensions/ext-tabs.js#996 it looks as if setZoomSettings only works if the new settings are the same as the existing ones.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: