diff options
author | stephan <stephan@noemail.net> | 2022-08-13 13:56:00 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-08-13 13:56:00 +0000 |
commit | 9a4c63b0fc85a019d3183abbd7939b081f45d025 (patch) | |
tree | c99980c7709d23ac40373a422066b1a1eaf9a3aa /ext/wasm/testing1.js | |
parent | 90218aec7a0991199b3e06faf723dd482bf970f6 (diff) | |
download | sqlite-9a4c63b0fc85a019d3183abbd7939b081f45d025.tar.gz sqlite-9a4c63b0fc85a019d3183abbd7939b081f45d025.zip |
Cleanups in the wasmfs/opfs integration but disable it in order to get the build into a known-working state before continuing with experimentation.
FossilOrigin-Name: 41045be752a5bd7966849638f3ca56f4905308df70f79f2cb6196ca7dce9d525
Diffstat (limited to 'ext/wasm/testing1.js')
-rw-r--r-- | ext/wasm/testing1.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/wasm/testing1.js b/ext/wasm/testing1.js index a733156e7..779e0bd72 100644 --- a/ext/wasm/testing1.js +++ b/ext/wasm/testing1.js @@ -19,7 +19,8 @@ const toss = function(...args){throw new Error(args.join(' '))}; const debug = console.debug.bind(console); const eOutput = document.querySelector('#test-output'); - const log = console.log.bind(console) + const log = console.log.bind(console), + warn = console.warn.bind(console); const logHtml = function(...args){ log.apply(this, args); const ln = document.createElement('div'); @@ -1012,7 +1013,7 @@ wasm = capi.wasm; log("Loaded module:",capi.sqlite3_libversion(), capi.sqlite3_sourceid()); log("Build options:",wasm.compileOptionUsed()); - + capi.sqlite3_web_persistent_dir()/*will install OPFS if available, plus a and non-locking VFS*/; if(1){ /* Let's grab those last few lines of test coverage for sqlite3-api.js... */ |