summaryrefslogtreecommitdiffstats
path: root/ext/wasm/scratchpad-wasmfs.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/scratchpad-wasmfs.html')
-rw-r--r--ext/wasm/scratchpad-wasmfs.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/wasm/scratchpad-wasmfs.html b/ext/wasm/scratchpad-wasmfs.html
new file mode 100644
index 0000000..c37febf
--- /dev/null
+++ b/ext/wasm/scratchpad-wasmfs.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html lang="en-us">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
+ <link rel="stylesheet" href="common/emscripten.css"/>
+ <link rel="stylesheet" href="common/testing.css"/>
+ <title>sqlite3 WASMFS/OPFS Main-thread Scratchpad</title>
+ </head>
+ <body>
+ <header id='titlebar'><span>sqlite3 WASMFS/OPFS Main-thread Scratchpad</span></header>
+ <p>Scratchpad/test app for the WASMF/OPFS integration in the
+ main window thread. This page requires that the sqlite3 API have
+ been built with WASMFS support. If OPFS support is available then
+ it "should" persist a database across reloads (watch the dev console
+ output), otherwise it will not.
+ </p>
+ <p>All stuff on this page happens in the dev console.</p>
+ <hr>
+ <div id='test-output'></div>
+ <script>
+ (function(){
+ const W = new Worker('scratchpad-wasmfs.mjs',{
+ type: 'module'
+ });
+ })();
+ </script>
+ </body>
+</html>