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