OLD | NEW |
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("requestFileSystemSync TEMPORARY test."); | 7 description("requestFileSystemSync TEMPORARY test."); |
8 | 8 |
9 var fileSystem = webkitRequestFileSystemSync(TEMPORARY, 100); | 9 var fileSystem = webkitRequestFileSystemSync(TEMPORARY, 100); |
10 | 10 |
11 debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name); | 11 debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name); |
12 shouldBeTrue("fileSystem.name.length > 0"); | 12 shouldBeTrue("fileSystem.name.length > 0"); |
13 shouldBe("fileSystem.root.fullPath", '"/"'); | 13 shouldBe("fileSystem.root.fullPath", '"/"'); |
14 finishJSTest(); | 14 finishJSTest(); |
OLD | NEW |