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