2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
4 <window title=
"Testing PathUtils on a chrome worker thread"
5 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
8 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
9 <script src=
"chrome://mochikit/content/tests/SimpleTest/WorkerHandler.js"></script>
11 <script type=
"application/javascript">
14 SimpleTest.waitForExplicitFinish();
16 info(
"test_pathtuils_worker.xhtml: Starting test");
18 const worker = new ChromeWorker(
"pathutils_worker.js");
19 info(
"test_pathtuils_worker.xhtml: ChromeWorker created");
21 listenForTests(worker, { verbose: false });
23 profileDir: PathUtils.profileDir,
24 localProfileDir: PathUtils.localProfileDir,
25 tempDir: PathUtils.tempDir,
28 info(
"test_pathtuils_worker.xhtml: Test running...");
32 <body xmlns=
"https://www.w3.org/1999/xhtml">
34 <div id=
"content" style=
"display: none"></div>
37 <label id=
"test-result" />