Closed Bug 1319372 Opened 8 years ago Closed 8 years ago

WebExtensions: chrome.tabs.setZoomSettings() should not require defaultZoomFactor to be set

Categories

(Firefox :: Untriaged, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1286953

People

(Reporter: dw-dev, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160922113459

Steps to reproduce:

I have recently developed a WebExtensions add-on, Zoom Page WE, based on my original XUL/XPCOM Zoom Page add-on.

Zoom Page WE has now been released on both Firefox and Chrome.

I have noticed that the WebExtensions implementation of chrome.tabs.setZoomSettings() is not fully compatible with the Chrome implementation.



Actual results:

With WebExtensions, chrome.tabs.setZoomSettings() requires that the tabs.ZoomSettings.defaultZoomFactor property is set to 1.0.

With Chrome, chrome.tabs.setZoomSettings() ignores the tabs.ZoomSettings.defaultZoomFactor property.

The Chrome behaviour is the correct behaviour, because both the Chrome and WebExtensions documentation for tabs.ZoomSettings state that:

"defaultZoomFactor - The default zoom level for the current tab. Note that this is only used in tabs.getZoomSettings."



Expected results:

chrome.tabs.setZoomSettings() should ignore the tabs.ZoomSettings.defaultZoomFactor property.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.