| Index: third_party/WebKit/LayoutTests/fast/filesystem/resources/null-arguments-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/filesystem/resources/null-arguments-worker.js b/third_party/WebKit/LayoutTests/fast/filesystem/resources/null-arguments-worker.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..499a6e807196bc61d706b6f9bb06e2b2c10f65d7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/filesystem/resources/null-arguments-worker.js
|
| @@ -0,0 +1,14 @@
|
| +importScripts('../resources/fs-worker-common.js');
|
| +importScripts('../../../resources/js-test.js');
|
| +importScripts('../resources/fs-test-util.js');
|
| +
|
| +description('This test tries calling various sync filesystem functions with null arguments.');
|
| +
|
| +fileSystem = webkitRequestFileSystemSync(self.TEMPORARY, 100);
|
| +
|
| +shouldThrow("fileSystem.root.moveTo(null)");
|
| +shouldThrow("fileSystem.root.copyTo(null)");
|
| +entry = fileSystem.root.getFile("/test", { create: true });
|
| +writer = entry.createWriter();
|
| +shouldThrow("writer.write(null)");
|
| +finishJSTest();
|
|
|