Merge pull request #11737 from kwonoj/feat-cache-capacity

feat(webframe): export set cache capacity interface
This commit is contained in:
Samuel Attard 2018-02-13 06:02:25 +11:00 committed by GitHub
commit 181169b743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 0 deletions

View file

@ -139,4 +139,10 @@ describe('webFrame module', function () {
webFrame.setLayoutZoomLevelLimits(0, 25)
})
})
it('supports setting cache capacity', function () {
assert.doesNotThrow(function () {
webFrame.setCacheCapacity(1024)
})
})
})