[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / storage / storageinfo-missing-arguments.html
1 <!DOCTYPE html>
2 <script src="../resources/js-test-pre.js"></script>
3 <script>
4
5 description('Ensures that we get exceptions when we do not include required arguments for webkitStorageInfo methods.');
6
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);
12 } else
13     debug("This test requires window.webkitStorageInfo.");
14
15 </script>
16 <script src="../resources/js-test-post.js"></script>