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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/filesystem/not-enough-arguments.html

Issue 2537193003: Make fast/filesystem/cross-filesystem-op.html insensitive to test order (Closed)
Patch Set: use template string rather than concatenation Created 4 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/fs-test-util.js"></script> 4 <script src="resources/fs-test-util.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('This test tries calling various filesystem functions with too few a rguments.'); 8 description('This test tries calling various filesystem functions with too few a rguments.');
9 9
10 function errorCallback(error) 10 function errorCallback(error)
(...skipping 21 matching lines...) Expand all
32 shouldThrow("entry.createWriter()"); 32 shouldThrow("entry.createWriter()");
33 shouldThrow("entry.file()"); 33 shouldThrow("entry.file()");
34 34
35 entry.createWriter(function(writer) { 35 entry.createWriter(function(writer) {
36 window.writer = writer; 36 window.writer = writer;
37 37
38 shouldThrow("writer.write()"); 38 shouldThrow("writer.write()");
39 shouldThrow("writer.seek()"); 39 shouldThrow("writer.seek()");
40 shouldThrow("writer.truncate()"); 40 shouldThrow("writer.truncate()");
41 41
42 finishJSTest(); 42 removeAllInDirectory(fileSystem.root, finishJSTest, finishJSTest );
43 }); 43 });
44 }); 44 });
45 }); 45 });
46 } 46 }
47 47
48 if (window.webkitRequestFileSystem) { 48 if (window.webkitRequestFileSystem) {
49 shouldThrow("webkitResolveLocalFileSystemURL()"); 49 shouldThrow("webkitResolveLocalFileSystemURL()");
50 shouldThrow("webkitRequestFileSystem()"); 50 shouldThrow("webkitRequestFileSystem()");
51 shouldThrow("webkitRequestFileSystem(PERSISTENT)"); 51 shouldThrow("webkitRequestFileSystem(PERSISTENT)");
52 shouldThrow("webkitRequestFileSystem(PERSISTENT, 100)"); 52 shouldThrow("webkitRequestFileSystem(PERSISTENT, 100)");
53 webkitRequestFileSystem(window.TEMPORARY, 100, successCallback, errorCallbac k); 53 webkitRequestFileSystem(window.TEMPORARY, 100, successCallback, errorCallbac k);
54 window.jsTestIsAsync = true; 54 window.jsTestIsAsync = true;
55 } else 55 } else
56 debug("This test requires FileSystem API support."); 56 debug("This test requires FileSystem API support.");
57 </script> 57 </script>
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698