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

Side by Side Diff: LayoutTests/fast/filesystem/resources/sync-operations.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('../resources/fs-worker-common.js'); 2 importScripts('../resources/fs-worker-common.js');
3 importScripts('../../js/resources/js-test-pre.js'); 3 importScripts('../../../resources/js-test.js');
4 importScripts('../resources/fs-test-util.js'); 4 importScripts('../resources/fs-test-util.js');
5 } 5 }
6 6
7 description("Test making multiple synchronous FileSystem operations."); 7 description("Test making multiple synchronous FileSystem operations.");
8 8
9 var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100); 9 var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100);
10 removeAllInDirectorySync(fileSystem.root); 10 removeAllInDirectorySync(fileSystem.root);
11 11
12 // Stage 1 (prepare) 12 // Stage 1 (prepare)
13 var a = fileSystem.root.getFile('a', {create:true}); 13 var a = fileSystem.root.getFile('a', {create:true});
(...skipping 22 matching lines...) Expand all
36 if (entries[i].isDirectory) 36 if (entries[i].isDirectory)
37 dirsCount++; 37 dirsCount++;
38 } 38 }
39 } while (entries.length); 39 } while (entries.length);
40 40
41 paths.sort(); 41 paths.sort();
42 shouldBe('"' + paths.join(',') + '"', '"/a,/b,/c,/d2,/e,/f"'); 42 shouldBe('"' + paths.join(',') + '"', '"/a,/b,/c,/d2,/e,/f"');
43 shouldBe("dirsCount", "3"); 43 shouldBe("dirsCount", "3");
44 removeAllInDirectorySync(fileSystem.root); 44 removeAllInDirectorySync(fileSystem.root);
45 finishJSTest(); 45 finishJSTest();
OLDNEW
« no previous file with comments | « LayoutTests/fast/filesystem/resources/simple-temporary-sync.js ('k') | LayoutTests/fast/filesystem/script-tests/TEMPLATE.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698