xref: /sqlite-3.40.0/ext/wasm/index.html (revision 44a87f08)
1<!doctype html>
2<html lang="en-us">
3  <head>
4    <meta charset="utf-8">
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6    <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
7    <link rel="stylesheet" href="common/testing.css"/>
8    <title>sqlite3 WASM Testing Page Index</title>
9  </head>
10  <body>
11    <header id='titlebar'><span>sqlite3 WASM test pages</span></header>
12    <hr>
13    <div>Below is the list of test pages for the sqlite3 WASM
14      builds. All of them require that this directory have been
15      "make"d first. The intent is that <em>this</em> page be run
16      using:</div>
17    <blockquote><pre>althttpd -page index.html</pre></blockquote>
18    <div>and the individual tests be started in their own tab.</div>
19    <div>Warnings and Caveats:
20      <ul class='warning'>
21        <li>Some of these pages require that
22          the web server emit the so-called COOP and COEP headers. The
23          default build of althttpd <em>does not</em>.
24        </li>
25        <li>Whether or not WASMFS/OPFS support is enabled on any given
26          page may depend on build-time options which are <em>off by
27          default</em> because they currently (as of 2022-09-08) break
28          with Worker-based pages.
29        </li>
30      </ul>
31    </div>
32    <div>The tests...
33      <ul id='test-list'>
34        <li><a href='testing1.html'>testing1</a>: sanity tests of the core APIs and surrounding utility code.</li>
35        <li><a href='testing2.html'>testing2</a>: Worker-based test of OO API #1.</li>
36        <li><a href='testing-worker1-promiser.html'>testing-worker1-promiser</a>:
37          tests for the Promise-based wrapper of the Worker-based API.</li>
38        <li><a href='batch-runner.html'>batch-runner</a>: runs batches of SQL exported from speedtest1.</li>
39        <li><a href='speedtest1.html'>speedtest1</a>: a main-thread WASM build of speedtest1.</li>
40        <li><a href='speedtest1-worker.html'>speedtest1-worker</a>: an interactive Worker-thread variant of speedtest1.</li>
41        <li><a href='demo-oo1.html'>demo-oo1</a>: demonstration of the OO API #1.</li>
42        <!--li><a href='x.html'></a></li-->
43      </ul>
44    </div>
45    <style>
46      #test-list { font-size: 120%; }
47    </style>
48    <script>//Assign a distinct target tab name for each test page...
49      document.querySelectorAll('a').forEach(function(e){
50          e.target = e.href;
51      });
52    </script>
53  </body>
54</html>
55