1 if (this.importScripts) {
2 importScripts('../resources/fs-worker-common.js');
3 importScripts('../resources/fs-test-util.js');
6 description("requestFileSystem TEMPORARY test.");
10 function errorCallback(error) {
11 debug('Error occured while requesting a TEMPORARY file system:' + error.code);
15 function successCallback(fs) {
17 debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
18 shouldBeTrue("fileSystem.name.length > 0");
19 shouldBe("fileSystem.root.fullPath", '"/"');
23 var jsTestIsAsync = true;
24 webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);