Merge pull request #11974 from electron/remove-setZoomLevelLimits
remove setZoomLevelLimits
This commit is contained in:
commit
8d4bf3e29a
6 changed files with 3 additions and 26 deletions
|
@ -134,7 +134,6 @@ describe('webFrame module', function () {
|
|||
|
||||
it('supports setting the visual and layout zoom level limits', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
webFrame.setZoomLevelLimits(1, 100)
|
||||
webFrame.setVisualZoomLevelLimits(1, 50)
|
||||
webFrame.setLayoutZoomLevelLimits(0, 25)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue