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

Side by Side Diff: LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js

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 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('../resources/fs-worker-common.js'); 2 importScripts('../resources/fs-worker-common.js');
3 importScripts('../../js/resources/js-test-pre.js'); 3 importScripts('../../js/resources/js-test-pre.js');
4 importScripts('../resources/fs-test-util.js'); 4 importScripts('../resources/fs-test-util.js');
5 } 5 }
6 6
7 description("DirectoryEntry required arguments test."); 7 description("DirectoryEntry required arguments test.");
8 8
9 var fileSystem = null; 9 var fileSystem = null;
10 10
11 function errorCallback(error) { 11 function errorCallback(error) {
12 debug("Error occured while requesting a TEMPORARY file system:" + error.code ); 12 debug("Error occured while requesting a TEMPORARY file system:" + error.name );
13 finishJSTest(); 13 finishJSTest();
14 } 14 }
15 15
16 function successCallback(fs) { 16 function successCallback(fs) {
17 fileSystem = fs; 17 fileSystem = fs;
18 debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name); 18 debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
19 root = evalAndLog("root = fileSystem.root"); 19 root = evalAndLog("root = fileSystem.root");
20 shouldThrow("root.getDirectory()"); 20 shouldThrow("root.getDirectory()");
21 finishJSTest(); 21 finishJSTest();
22 } 22 }
23 23
24 var jsTestIsAsync = true; 24 var jsTestIsAsync = true;
25 evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallba ck);"); 25 evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallba ck);");
26 var successfullyParsed = true; 26 var successfullyParsed = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698