Add tests for the new code on this branch.
[sqlite.git] / ext / wasm / tester1.c-pp.html
blobbbdd8b2233058530cbb9884f97ccb91e6d957c5e
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/emscripten.css"/>
8 <link rel="stylesheet" href="common/testing.css"/>
9 <title>sqlite3 tester #1:
10 //#if target=es6-module
11 ES6 Module in UI thread
12 //#else
13 UI thread
14 //#endif
15 </title>
16 <style></style>
17 </head>
18 <body><h1 id='color-target'></h1>
19 <div>Variants:
20 <a href='tester1.html' target='tester1.html'>conventional UI thread</a>,
21 <a href='tester1-worker.html' target='tester1-worker.html'>conventional worker</a>,
22 <a href='tester1-esm.html' target='tester1-esm.html'>ESM in UI thread</a>,
23 <a href='tester1-worker.html?esm' target='tester1-worker.html?esm'>ESM worker</a>
24 </div>
25 <div class='input-wrapper'>
26 <input type='checkbox' id='cb-log-reverse'>
27 <label for='cb-log-reverse'>Reverse log order?</label>
28 </div>
29 <div id='test-output'></div>
30 <script>(function(){
31 document.querySelector('h1').innerHTML =
32 document.querySelector('title').innerHTML;
33 })();</script>
34 //#if target=es6-module
35 <script src="tester1.mjs" type="module"></script>
36 //#else
37 <script src="jswasm/sqlite3.js"></script>
38 <script src="tester1.js"></script>
39 //#endif
40 </body>
41 </html>