Snapshot of upstream SQLite 3.46.1
[sqlcipher.git] / ext / wasm / scratchpad-wasmfs.html
blobc37febff18172660673faa0a6e6d547918e42cf1
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 WASMFS/OPFS Main-thread Scratchpad</title>
10 </head>
11 <body>
12 <header id='titlebar'><span>sqlite3 WASMFS/OPFS Main-thread Scratchpad</span></header>
13 <p>Scratchpad/test app for the WASMF/OPFS integration in the
14 main window thread. This page requires that the sqlite3 API have
15 been built with WASMFS support. If OPFS support is available then
16 it "should" persist a database across reloads (watch the dev console
17 output), otherwise it will not.
18 </p>
19 <p>All stuff on this page happens in the dev console.</p>
20 <hr>
21 <div id='test-output'></div>
22 <script>
23 (function(){
24 const W = new Worker('scratchpad-wasmfs.mjs',{
25 type: 'module'
26 });
27 })();
28 </script>
29 </body>
30 </html>