Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Side by Side Diff: LayoutTests/fast/filesystem/entry-points-missing-arguments.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <script> 3 <script>
4 description('Ensures that we get exceptions when we do not include required argu ments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.') ; 4 description('Ensures that we get exceptions when we do not include required argu ments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.') ;
5 5
6 if (window.webkitResolveLocalFileSystemURL) { 6 if (window.webkitResolveLocalFileSystemURL) {
7 shouldThrow('webkitResolveLocalFileSystemURL()', '"TypeError: Failed to exec ute \'webkitResolveLocalFileSystemURL\' on \'Window\': 2 arguments required, but only 0 present."'); 7 shouldThrow('webkitResolveLocalFileSystemURL()', '"TypeError: Failed to exec ute \'webkitResolveLocalFileSystemURL\' on \'Window\': 2 arguments required, but only 0 present."');
8 shouldThrow('webkitResolveLocalFileSystemURL("")', '"TypeError: Failed to ex ecute \'webkitResolveLocalFileSystemURL\' on \'Window\': 2 arguments required, b ut only 1 present."'); 8 shouldThrow('webkitResolveLocalFileSystemURL("")', '"TypeError: Failed to ex ecute \'webkitResolveLocalFileSystemURL\' on \'Window\': 2 arguments required, b ut only 1 present."');
9 shouldThrow('webkitRequestFileSystem()', '"TypeError: Failed to execute \'we bkitRequestFileSystem\' on \'Window\': 3 arguments required, but only 0 present. "'); 9 shouldThrow('webkitRequestFileSystem()', '"TypeError: Failed to execute \'we bkitRequestFileSystem\' on \'Window\': 3 arguments required, but only 0 present. "');
10 shouldThrow('webkitRequestFileSystem(TEMPORARY)', '"TypeError: Failed to exe cute \'webkitRequestFileSystem\' on \'Window\': 3 arguments required, but only 1 present."'); 10 shouldThrow('webkitRequestFileSystem(TEMPORARY)', '"TypeError: Failed to exe cute \'webkitRequestFileSystem\' on \'Window\': 3 arguments required, but only 1 present."');
11 shouldThrow('webkitRequestFileSystem(TEMPORARY, 1)', '"TypeError: Failed to execute \'webkitRequestFileSystem\' on \'Window\': 3 arguments required, but onl y 2 present."'); 11 shouldThrow('webkitRequestFileSystem(TEMPORARY, 1)', '"TypeError: Failed to execute \'webkitRequestFileSystem\' on \'Window\': 3 arguments required, but onl y 2 present."');
12 } else 12 } else
13 debug("This test requires window.webkitResolveLocalFileSystemURL."); 13 debug("This test requires window.webkitResolveLocalFileSystemURL.");
14 </script> 14 </script>
15 <script src="../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/filesystem/directory-entry-to-uri.html ('k') | LayoutTests/fast/filesystem/file-entry-to-uri.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698