1*fd31ae3bSstephan<!doctype html>
2*fd31ae3bSstephan<html lang="en-us">
3*fd31ae3bSstephan  <head>
4*fd31ae3bSstephan    <meta charset="utf-8">
5*fd31ae3bSstephan    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6*fd31ae3bSstephan    <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
7*fd31ae3bSstephan    <link rel="stylesheet" href="common/emscripten.css"/>
8*fd31ae3bSstephan    <link rel="stylesheet" href="common/testing.css"/>
9*fd31ae3bSstephan    <title>sqlite3-kvvfs.js tests</title>
10*fd31ae3bSstephan  </head>
11*fd31ae3bSstephan  <body>
12*fd31ae3bSstephan    <header id='titlebar'><span>sqlite3-kvvfs.js tests</span></header>
13*fd31ae3bSstephan    <!-- emscripten bits -->
14*fd31ae3bSstephan    <figure id="module-spinner">
15*fd31ae3bSstephan      <div class="spinner"></div>
16*fd31ae3bSstephan      <div class='center'><strong>Initializing app...</strong></div>
17*fd31ae3bSstephan      <div class='center'>
18*fd31ae3bSstephan        On a slow internet connection this may take a moment.  If this
19*fd31ae3bSstephan        message displays for "a long time", intialization may have
20*fd31ae3bSstephan        failed and the JavaScript console may contain clues as to why.
21*fd31ae3bSstephan      </div>
22*fd31ae3bSstephan    </figure>
23*fd31ae3bSstephan    <div class="emscripten" id="module-status">Downloading...</div>
24*fd31ae3bSstephan    <div class="emscripten">
25*fd31ae3bSstephan      <progress value="0" max="100" id="module-progress" hidden='1'></progress>
26*fd31ae3bSstephan    </div><!-- /emscripten bits -->
27*fd31ae3bSstephan    <fieldset>
28*fd31ae3bSstephan      <legend>Options</legend>
29*fd31ae3bSstephan      <div class='toolbar'>
30*fd31ae3bSstephan        <button id='btn-clear-log'>Clear log</button>
31*fd31ae3bSstephan        <button id='btn-clear-storage'>Clear storage</button>
32*fd31ae3bSstephan        <button id='btn-init-db'>(Re)init db</button>
33*fd31ae3bSstephan        <button id='btn-select1'>Select db rows</button>
34*fd31ae3bSstephan        <button id='btn-storage-size'>Approx. storage size</button>
35*fd31ae3bSstephan      </div>
36*fd31ae3bSstephan    </fieldset>
37*fd31ae3bSstephan    <div id='test-output'></div>
38*fd31ae3bSstephan    <style>
39*fd31ae3bSstephan      .toolbar {
40*fd31ae3bSstephan          display: flex;
41*fd31ae3bSstephan      }
42*fd31ae3bSstephan      .toolbar > * { margin: 0.25em; }
43*fd31ae3bSstephan      fieldset { border-radius: 0.5em; }
44*fd31ae3bSstephan    </style>
45*fd31ae3bSstephan    <script src="jswasm/sqlite3.js"></script>
46*fd31ae3bSstephan    <script src="common/SqliteTestUtil.js"></script>
47*fd31ae3bSstephan    <script src="demo-jsstorage.js"></script>
48*fd31ae3bSstephan  </body>
49*fd31ae3bSstephan</html>
50