diff --git a/spec/api-web-frame-spec.js b/spec/api-web-frame-spec.js index 776b6efcebfe..178feb57d440 100644 --- a/spec/api-web-frame-spec.js +++ b/spec/api-web-frame-spec.js @@ -139,4 +139,10 @@ describe('webFrame module', function () { webFrame.setLayoutZoomLevelLimits(0, 25) }) }) + + it('supports setting cache capacity', function () { + assert.doesNotThrow(function () { + webFrame.setCacheCapacity(1024) + }) + }) })