OLD | NEW |
(Empty) | |
| 1 importScripts('../resources/fs-worker-common.js'); |
| 2 importScripts('../../../resources/js-test.js'); |
| 3 importScripts('../resources/fs-test-util.js'); |
| 4 |
| 5 description('This test tries calling various sync filesystem functions with null
arguments.'); |
| 6 |
| 7 fileSystem = webkitRequestFileSystemSync(self.TEMPORARY, 100); |
| 8 |
| 9 shouldThrow("fileSystem.root.moveTo(null, 'x')"); |
| 10 shouldThrow("fileSystem.root.copyTo(null, 'x')"); |
| 11 entry = fileSystem.root.getFile("/test", { create: true }); |
| 12 writer = entry.createWriter(); |
| 13 shouldThrow("writer.write(null)"); |
| 14 finishJSTest(); |
OLD | NEW |