interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / ext / wasm / tester1.c-pp.html

61 lines · 2641 bytes Raw Blame History
1<!doctype html>
2//#@ policy error
3<html lang="en-us">
4 <head>
5 <meta charset="utf-8">
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
8 <link rel="stylesheet" href="common/emscripten.css"/>
9 <link rel="stylesheet" href="common/testing.css"/>
10 <title>sqlite3 tester #1: @title@ (@bitness@-bit WASM)</title>
11 <style>
12//#if 1 /* dark(er) mode */
13 body { background: #313131; color: white; }
14 .green { color: lightgreen; }
15 a, a:visited { color: lightblue; }
16 .group-start { color: darkblue; }
17 .group-end.green { color: black; }
18//#/if
19 </style>
20 </head>
21 <body><h1 id='color-target'></h1>
22 <div>Variants (32-bit):
23 conventional UI thread:
24 (<a href='tester1.html' target='tester1.html'>32-bit</a>,
25 <a href='tester1-64bit.html' target='tester1-64bit.html'>64-bit</a>),
26 conventional worker:
27 (<a href='tester1-worker.html' target='tester1-worker.html'>32-bit</a>,
28 <a href='tester1-worker-64bit.html' target='tester1-worker-64bit.html'>64-bit</a>),
29 ESM in UI thread:
30 (<a href='tester1-esm.html' target='tester1-esm.html'>32-bit</a>,
31 <a href='tester1-esm-64bit.html' target='tester1-esm-64bit.html'>64-bit</a>),
32 ESM worker:</a>
33 (<a href='tester1-worker.html?esm' target='tester1-worker.html?esm'>32-bit</a>
34 <a href='tester1-worker-64bit.html?esm' target='tester1-worker-64bit.html?esm'>64-bit</a>)
35 <div style="font-size: 80%; border: 1px dotted; margin: 0.5em; padding: 0.5em">
36 Testers beware: the <strong>UI-thread tests</strong> may all
37 run concurrently except that they may fail kvvfs tests because
38 of concurrent access to that storage (it's so rare that it's
39 never been seen in practice because those tests are so fast,
40 but is hypothetically possible). The <strong>Worker-thread
41 tests</strong> run OPFS tests, which are slow in some browsers
42 and will fail if two instances of this page run them at the
43 same time.</div>
44 </div>
45 <div class='input-wrapper'>
46 <input type='checkbox' id='cb-log-reverse'>
47 <label for='cb-log-reverse'>Reverse log order?</label>
48 </div>
49 <div id='test-output'></div>
50 <script>(function(){
51 document.querySelector('h1').innerHTML =
52 document.querySelector('title').innerHTML;
53 })();</script>
54//#if target:es6-module
55 <script src="@tester1.js@" type="module"></script>
56//#else
57 <script src="@sqlite3.js@"></script>
58 <script src="@tester1.js@"></script>
59//#/if
60 </body>
61</html>