Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / quota / storageinfo-missing-arguments.html
blobcc94786d44466ea1ff9fe1e83aa82098f982c1c9
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
5 description('Ensures that we get exceptions when we do not include required arguments for webkitStorageInfo methods.');
7 if (window.webkitStorageInfo) {
8 shouldThrow('webkitStorageInfo.requestQuota()', '"TypeError: Failed to execute \'requestQuota\' on \'DeprecatedStorageInfo\': 2 arguments required, but only 0 present."');
9 shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', '"TypeError: Failed to execute \'requestQuota\' on \'DeprecatedStorageInfo\': 2 arguments required, but only 1 present."');
10 shouldThrow('webkitStorageInfo.queryUsageAndQuota()', '"TypeError: Failed to execute \'queryUsageAndQuota\' on \'DeprecatedStorageInfo\': 1 argument required, but only 0 present."');
11 } else
12 debug("This test requires window.webkitStorageInfo.");
14 </script>