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 <!-- emscripten bits --> 14 <figure id="module-spinner"> 15 <div class="spinner"></div> 16 <div class='center'><strong>Initializing app...</strong></div> 17 <div class='center'> 18 On a slow internet connection this may take a moment. If this 19 message displays for "a long time", intialization may have 20 failed and the JavaScript console may contain clues as to why. 21 </div> 22 </figure> 23 <div class="emscripten" id="module-status">Downloading...</div> 24 <div class="emscripten"> 25 <progress value="0" max="100" id="module-progress" hidden='1'></progress> 26 </div><!-- /emscripten bits --> 27 <p>Scratchpad/test app for the WASMF/OPFS integration in the 28 main window thread. This page requires that the sqlite3 API have 29 been built with WASMFS support. If OPFS support is available then 30 it "should" persist a database across reloads (watch the dev console 31 output), otherwise it will not. 32 </p> 33 <p>All stuff on this page happens in the dev console.</p> 34 <hr> 35 <div id='test-output'></div> 36 <script src="sqlite3-wasmfs.js"></script> 37 <script src="common/SqliteTestUtil.js"></script> 38 <script src="scratchpad-wasmfs-main.js"></script> 39 </body> 40</html> 41