diff options
author | stephan <stephan@noemail.net> | 2023-10-17 23:35:47 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-10-17 23:35:47 +0000 |
commit | 0b4de1acac7da83cfaf72cbd00d1d1f2fd456b1a (patch) | |
tree | 448a86807f7399d5501932e705793768f38b24cd /ext/wasm/api/sqlite3-worker1.c-pp.js | |
parent | 43dc31cf1feff10d37e7a5dc3ce141698054768a (diff) | |
download | sqlite-0b4de1acac7da83cfaf72cbd00d1d1f2fd456b1a.tar.gz sqlite-0b4de1acac7da83cfaf72cbd00d1d1f2fd456b1a.zip |
JS: replace one errant reference to 'self' with 'globalThis' and remove a separate dead-code 'self' reference.
FossilOrigin-Name: da1a47932ea96755b1e11fc2547ce11780b87846af6885857318ff18f1e62c31
Diffstat (limited to 'ext/wasm/api/sqlite3-worker1.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-worker1.c-pp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-worker1.c-pp.js b/ext/wasm/api/sqlite3-worker1.c-pp.js index f26042230..220722ffe 100644 --- a/ext/wasm/api/sqlite3-worker1.c-pp.js +++ b/ext/wasm/api/sqlite3-worker1.c-pp.js @@ -37,7 +37,7 @@ import {default as sqlite3InitModule} from './sqlite3-bundler-friendly.mjs'; "use strict"; { const urlParams = globalThis.location - ? new URL(self.location.href).searchParams + ? new URL(globalThis.location.href).searchParams : new URLSearchParams(); let theJs = 'sqlite3.js'; if(urlParams.has('sqlite3.dir')){ |