Merge pull request #11974 from electron/remove-setZoomLevelLimits

remove setZoomLevelLimits
This commit is contained in:
shelley vohr 2018-02-20 10:51:41 -05:00 committed by GitHub
commit 8d4bf3e29a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 26 deletions

View file

@ -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)
})