mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
wasm: accommodate moving generated sqlite3.js in the previous checkin.
FossilOrigin-Name: 41762f9518bb51b8b23ae6507628d6d3256044e1f2aca6e7251dc57722062c42
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
<p>All stuff on this page happens in the dev console.</p>
|
||||
<hr>
|
||||
<div id='test-output'></div>
|
||||
<script src="api/sqlite3.js"></script>
|
||||
<script src="sqlite3.js"></script>
|
||||
<script src="common/SqliteTestUtil.js"></script>
|
||||
<script src="scratchpad-opfs-main.js"></script>
|
||||
</body>
|
||||
|
@ -11,7 +11,7 @@
|
||||
***********************************************************************
|
||||
|
||||
A basic test script for sqlite3-api.js. This file must be run in
|
||||
main JS thread and sqlite3.js must have been loaded before it.
|
||||
main JS thread. It will load sqlite3.js in a worker thread.
|
||||
*/
|
||||
'use strict';
|
||||
(function(){
|
||||
@ -19,8 +19,7 @@
|
||||
const log = console.log.bind(console),
|
||||
warn = console.warn.bind(console),
|
||||
error = console.error.bind(console);
|
||||
|
||||
const W = new Worker("api/scratchpad-opfs-worker.js");
|
||||
const W = new Worker("scratchpad-opfs-worker2.js");
|
||||
self.onmessage = function(ev){
|
||||
ev = ev.data;
|
||||
const d = ev.data;
|
||||
|
@ -34,7 +34,7 @@
|
||||
};
|
||||
|
||||
const stdout = console.log.bind(console);
|
||||
const stderr = function(...args){wMsg('stderr', args);};
|
||||
const stderr = console.error.bind(console);//function(...args){wMsg('stderr', args);};
|
||||
|
||||
const test1 = function(db){
|
||||
db.execMulti("create table if not exists t(a);")
|
Reference in New Issue
Block a user