| Index: LayoutTests/storage/storageinfo-missing-arguments.html
|
| diff --git a/LayoutTests/storage/storageinfo-missing-arguments.html b/LayoutTests/storage/storageinfo-missing-arguments.html
|
| index f0c9470f6a2eecb0dc12980df47f0c36af190a24..eb2e9583e805e6a9c7a2323b4f2b775c992db8de 100644
|
| --- a/LayoutTests/storage/storageinfo-missing-arguments.html
|
| +++ b/LayoutTests/storage/storageinfo-missing-arguments.html
|
| @@ -5,10 +5,9 @@
|
| description('Ensures that we get exceptions when we do not include required arguments for webkitStorageInfo methods.');
|
|
|
| if (window.webkitStorageInfo) {
|
| - var notEnoughArguments = '"TypeError: Not enough arguments"';
|
| - shouldThrow('webkitStorageInfo.requestQuota()', notEnoughArguments);
|
| - shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', notEnoughArguments);
|
| - shouldThrow('webkitStorageInfo.queryUsageAndQuota()', notEnoughArguments);
|
| + shouldThrow('webkitStorageInfo.requestQuota()', '"TypeError: Failed to execute \'requestQuota\' on \'StorageInfo\': 2 arguments required, but only 0 present."');
|
| + shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', '"TypeError: Failed to execute \'requestQuota\' on \'StorageInfo\': 2 arguments required, but only 1 present."');
|
| + shouldThrow('webkitStorageInfo.queryUsageAndQuota()', '"TypeError: Failed to execute \'queryUsageAndQuota\' on \'StorageInfo\': 1 argument required, but only 0 present."');
|
| } else
|
| debug("This test requires window.webkitStorageInfo.");
|
|
|
|
|