Commit 0a2e749c 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

Depends on D156475

Differential Revision: https://phabricator.services.mozilla.com/D156476
parent 9aee4156
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
/**
 * 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");
});
+1 −0
Original line number Diff line number Diff line
@@ -7,4 +7,5 @@
TESTING_JS_MODULES.dom.fs.test.xpcshell.worker += [
    "head.js",
    "test_basics_worker.js",
    "test_fileSystemDirectoryHandle_worker.js",
]
+13 −0
Original line number Diff line number Diff line
/**
 * 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);
  });
});
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ head = head.js
[test_basics.js]
[test_basics_worker.js]
[test_fileSystemDirectoryHandle.js]
[test_fileSystemDirectoryHandle_worker.js]