summaryrefslogtreecommitdiffstats
path: root/dom/fs/test/mochitest/test_writableFileStream.html
blob: b2fe6a93820aa6d6aea075ff957051d4234f36b9 (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_writableFileStream.js";

      const testCases = await require_module(testSet);

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

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

<body></body>

</html>