Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml version="1.0"?>
<!-- Any copyright is dedicated to the Public Domain.
<window title="Testing PathUtils on a chrome worker thread"
onload="test();">
<script type="application/javascript">
<![CDATA[
function test() {
SimpleTest.waitForExplicitFinish();
info("test_pathtuils_worker.xhtml: Starting test");
const worker = new ChromeWorker("pathutils_worker.js");
info("test_pathtuils_worker.xhtml: ChromeWorker created");
listenForTests(worker, { verbose: false });
worker.postMessage({
profileDir: PathUtils.profileDir,
localProfileDir: PathUtils.localProfileDir,
tempDir: PathUtils.tempDir,
});
info("test_pathtuils_worker.xhtml: Test running...");
}
]]>
</script>
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test"></pre>
</body>
<label id="test-result" />
</window>