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

Side by Side Diff: LayoutTests/fast/filesystem/simple-readonly-file-object.html

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win test expectation fix (temporary) Created 7 years, 4 months 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/fs-test-util.js"></script> 4 <script src="resources/fs-test-util.js"></script>
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="console"></div> 9 <div id="console"></div>
10 <script> 10 <script>
(...skipping 11 matching lines...) Expand all
22 evalAndLog(property + " = " + value); 22 evalAndLog(property + " = " + value);
23 newValue = eval(property); 23 newValue = eval(property);
24 if (oldValue == newValue) { 24 if (oldValue == newValue) {
25 testPassed(property + " is still " + oldValue); 25 testPassed(property + " is still " + oldValue);
26 } else { 26 } else {
27 testFailed(property + " value was changed"); 27 testFailed(property + " value was changed");
28 } 28 }
29 } 29 }
30 30
31 function errorCallback(error) { 31 function errorCallback(error) {
32 testFailed("Error occured:" + error.code); 32 testFailed("Error occured:" + error.name);
33 finishJSTest(); 33 finishJSTest();
34 } 34 }
35 35
36 function fileCallback(file) { 36 function fileCallback(file) {
37 testFile = file; 37 testFile = file;
38 setReadonlyProperty("testFile.size", "1"); 38 setReadonlyProperty("testFile.size", "1");
39 setReadonlyProperty("testFile.type", "'application/octet-stream'"); 39 setReadonlyProperty("testFile.type", "'application/octet-stream'");
40 setReadonlyProperty("testFile.name", "'bar'"); 40 setReadonlyProperty("testFile.name", "'bar'");
41 finishJSTest(); 41 finishJSTest();
42 } 42 }
(...skipping 11 matching lines...) Expand all
54 fileSystem = fs; 54 fileSystem = fs;
55 evalAndLog("removeAllInDirectory(fileSystem.root, createTestFile, errorCallb ack);"); 55 evalAndLog("removeAllInDirectory(fileSystem.root, createTestFile, errorCallb ack);");
56 } 56 }
57 57
58 var jsTestIsAsync = true; 58 var jsTestIsAsync = true;
59 evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCal lback);"); 59 evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCal lback);");
60 </script> 60 </script>
61 <script src="../js/resources/js-test-post.js"></script> 61 <script src="../js/resources/js-test-post.js"></script>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/filesystem/script-tests/read-directory.js ('k') | LayoutTests/http/tests/filesystem/resolve-uri-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698