2 <script src="../fast/js/resources/js-test-pre.js"></script>
5 description('Ensures that we get exceptions when we do not include required arguments for webkitStorageInfo methods.');
7 if (window.webkitStorageInfo) {
8 var notEnoughArguments = '"TypeError: Not enough arguments"';
9 shouldThrow('webkitStorageInfo.requestQuota()', notEnoughArguments);
10 shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', notEnoughArguments);
11 shouldThrow('webkitStorageInfo.queryUsageAndQuota()', notEnoughArguments);
13 debug("This test requires window.webkitStorageInfo.");
16 <script src="../fast/js/resources/js-test-post.js"></script>