demo-worker1-promiser.c-pp.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. //#if target=es6-module
  10. <title>worker-promise (via ESM) tests</title>
  11. //#else
  12. <title>worker-promise tests</title>
  13. //#endif
  14. </head>
  15. <body>
  16. <header id='titlebar'><span>worker-promise tests</span></header>
  17. <!-- emscripten bits -->
  18. <figure id="module-spinner">
  19. <div class="spinner"></div>
  20. <div class='center'><strong>Initializing app...</strong></div>
  21. <div class='center'>
  22. On a slow internet connection this may take a moment. If this
  23. message displays for "a long time", intialization may have
  24. failed and the JavaScript console may contain clues as to why.
  25. </div>
  26. </figure>
  27. <div class="emscripten" id="module-status">Downloading...</div>
  28. <div class="emscripten">
  29. <progress value="0" max="100" id="module-progress" hidden='1'></progress>
  30. </div><!-- /emscripten bits -->
  31. <div>Most stuff on this page happens in the dev console.</div>
  32. <hr>
  33. <div id='test-output'></div>
  34. <script src="common/SqliteTestUtil.js"></script>
  35. //#if target=es6-module
  36. <script src="demo-worker1-promiser.mjs" type="module"></script>
  37. //#else
  38. <script src="jswasm/sqlite3-worker1-promiser.js"></script>
  39. <script src="demo-worker1-promiser.js"></script>
  40. //#endif
  41. </body>
  42. </html>