test-opfs-vfs.html 910 B

123456789101112131415161718192021222324252627
  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>Async-behind-Sync experiment</title>
  10. </head>
  11. <body>
  12. <header id='titlebar'><span>Async-behind-Sync sqlite3_vfs</span></header>
  13. <div>This performs a sanity test of the "opfs" sqlite3_vfs.
  14. <strong>See the dev console for all output.</strong>
  15. </div>
  16. <div>
  17. <a href='?delete'>Use this link</a> to delete the persistent OPFS-side db (if any).
  18. </div>
  19. <div id='test-output'></div>
  20. <script>
  21. new Worker(
  22. "test-opfs-vfs.js?sqlite3.dir=jswasm&"+self.location.search.substr(1)
  23. );
  24. </script>
  25. </body>
  26. </html>