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

Side by Side Diff: LayoutTests/fast/filesystem/resources/file-from-file-entry.js

Issue 58533003: Move fast/js/resources files to resources. (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 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('fs-worker-common.js'); 2 importScripts('fs-worker-common.js');
3 importScripts('../../js/resources/js-test-pre.js'); 3 importScripts('../../../resources/js-test.js');
4 importScripts('fs-test-util.js'); 4 importScripts('fs-test-util.js');
5 } 5 }
6 6
7 description("Obtaining File from FileEntry."); 7 description("Obtaining File from FileEntry.");
8 8
9 var fileSystem = null; 9 var fileSystem = null;
10 var testFileName = '/testFileEntry.txt'; 10 var testFileName = '/testFileEntry.txt';
11 var testFileEntry = null; 11 var testFileEntry = null;
12 var testFile = null; 12 var testFile = null;
13 13
(...skipping 19 matching lines...) Expand all
33 fileSystem.root.getFile(testFileName, {create:true}, getFileFromEntry, error Callback); 33 fileSystem.root.getFile(testFileName, {create:true}, getFileFromEntry, error Callback);
34 } 34 }
35 35
36 function fileSystemCallback(fs) { 36 function fileSystemCallback(fs) {
37 fileSystem = fs; 37 fileSystem = fs;
38 removeAllInDirectory(fileSystem.root, createTestFile, errorCallback); 38 removeAllInDirectory(fileSystem.root, createTestFile, errorCallback);
39 } 39 }
40 40
41 var jsTestIsAsync = true; 41 var jsTestIsAsync = true;
42 webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback); 42 webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698