summaryrefslogtreecommitdiffstats
path: root/dom/fs/test/mochitest/test_basics.html
blob: cdada431aa8ec1945f8c1c4e6d1e6e4ba2008101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!--
  Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
  <title>File System Test</title>

  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>

  <script type="text/javascript" src="head.js"></script>
  <script type="text/javascript">
    // XXX This should be done in a task, but SimpleTest currently doesn't
    //     support adding new tasks during a task execution.
    async function init() {
      const testSet = "dom/fs/test/common/test_basics.js";

      const testCases = await require_module(testSet);

      Object.values(testCases).forEach(testItem => {
        add_task(testItem);
      });
    }

    init();
  </script>
</head>

<body></body>

</html>