Skip to content
Snippets Groups Projects
Commit 2f2fdbbc authored by Jan Varga's avatar Jan Varga
Browse files

Bug 1789270 - Enable test_fileSystemDirectoryHandle.js in xpcshell workers;...

Bug 1789270 - Enable test_fileSystemDirectoryHandle.js in xpcshell workers; r=dom-storage-reviewers,jesup

Differential Revision: https://phabricator.services.mozilla.com/D156476
parent f963bf99
No related branches found
No related tags found
No related merge requests found
/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
add_task(async function worker() {
await run_test_in_worker("worker/test_fileSystemDirectoryHandle_worker.js");
});
......@@ -7,4 +7,5 @@
TESTING_JS_MODULES.dom.fs.test.xpcshell.worker += [
"head.js",
"test_basics_worker.js",
"test_fileSystemDirectoryHandle_worker.js",
]
/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
add_task(async function init() {
const testCases = await require_module(
"dom/fs/test/common/test_fileSystemDirectoryHandle.js"
);
Object.values(testCases).forEach(async testItem => {
add_task(testItem);
});
});
......@@ -8,3 +8,4 @@ head = head.js
[test_basics.js]
[test_basics_worker.js]
[test_fileSystemDirectoryHandle.js]
[test_fileSystemDirectoryHandle_worker.js]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment