diff options
author | stephan <stephan@noemail.net> | 2022-09-20 16:10:39 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-09-20 16:10:39 +0000 |
commit | fa5aac7475494695dbae52e0c60718167597e721 (patch) | |
tree | 47cb0de1f08daae78c45a695c55e141283dfbe91 /ext/wasm/api/sqlite3-api-worker1.js | |
parent | 89071030db862b7b9b26f214c3508e607b9b430d (diff) | |
parent | c3b6fdaead863709e532832c1341f1bebce504f2 (diff) | |
download | sqlite-fa5aac7475494695dbae52e0c60718167597e721.tar.gz sqlite-fa5aac7475494695dbae52e0c60718167597e721.zip |
Merge kv-vfs-magic-names branch into fiddle-opfs branch and make some kvvfs-relevant tweaks.
FossilOrigin-Name: e3d36dcdd37e59f17a07d3611d08744eb86f439fab82a648490dd608bcaa3185
Diffstat (limited to 'ext/wasm/api/sqlite3-api-worker1.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-worker1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-worker1.js b/ext/wasm/api/sqlite3-api-worker1.js index b41a837e9..d9a943971 100644 --- a/ext/wasm/api/sqlite3-api-worker1.js +++ b/ext/wasm/api/sqlite3-api-worker1.js @@ -326,7 +326,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ sqlite3.initWorker1API = function(){ 'use strict'; const toss = (...args)=>{throw new Error(args.join(' '))}; - if(self.window === self || 'function' !== typeof importScripts){ + if('function' !== typeof importScripts){ toss("initWorker1API() must be run from a Worker thread."); } const self = this.self; |