| Index: LayoutTests/fast/filesystem/entry-points-missing-arguments.html
|
| diff --git a/LayoutTests/fast/filesystem/entry-points-missing-arguments.html b/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
|
| index 79c531fa6f3a52b1976ec764bf4dbcb1bfb94c7e..09e6341499e125730a5de99ec73c87a0a6729724 100644
|
| --- a/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
|
| +++ b/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
|
| @@ -4,12 +4,11 @@
|
| description('Ensures that we get exceptions when we do not include required arguments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.');
|
|
|
| if (window.webkitResolveLocalFileSystemURL) {
|
| - var notEnoughArguments = '"TypeError: Not enough arguments"';
|
| - shouldThrow('webkitResolveLocalFileSystemURL()', notEnoughArguments);
|
| - shouldThrow('webkitResolveLocalFileSystemURL("")', notEnoughArguments);
|
| - shouldThrow('webkitRequestFileSystem()', notEnoughArguments);
|
| - shouldThrow('webkitRequestFileSystem(TEMPORARY)', notEnoughArguments);
|
| - shouldThrow('webkitRequestFileSystem(TEMPORARY, 1)', notEnoughArguments);
|
| + shouldThrow('webkitResolveLocalFileSystemURL()', '"TypeError: Failed to execute \'webkitResolveLocalFileSystemURL\' on \'DOMWindow\': 2 arguments required, but only 0 present."');
|
| + shouldThrow('webkitResolveLocalFileSystemURL("")', '"TypeError: Failed to execute \'webkitResolveLocalFileSystemURL\' on \'DOMWindow\': 2 arguments required, but only 1 present."');
|
| + shouldThrow('webkitRequestFileSystem()', '"TypeError: Failed to execute \'webkitRequestFileSystem\' on \'DOMWindow\': 3 arguments required, but only 0 present."');
|
| + shouldThrow('webkitRequestFileSystem(TEMPORARY)', '"TypeError: Failed to execute \'webkitRequestFileSystem\' on \'DOMWindow\': 3 arguments required, but only 1 present."');
|
| + shouldThrow('webkitRequestFileSystem(TEMPORARY, 1)', '"TypeError: Failed to execute \'webkitRequestFileSystem\' on \'DOMWindow\': 3 arguments required, but only 2 present."');
|
| } else
|
| debug("This test requires window.webkitResolveLocalFileSystemURL.");
|
| </script>
|
|
|