aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-opfs-async-proxy.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-07-22 19:57:42 +0000
committerstephan <stephan@noemail.net>2023-07-22 19:57:42 +0000
commit2ecadd8869a5aafeaee736fbfd0dcb15990480c7 (patch)
tree9641780ec5137dea9dcafd282dad8d7f0c9ddbec /ext/wasm/api/sqlite3-opfs-async-proxy.js
parent5d03b1610f268916a7609d5fb290441a07787357 (diff)
parentbfe6dd0100d54e43601b96da97b27a5cda82578a (diff)
downloadsqlite-2ecadd8869a5aafeaee736fbfd0dcb15990480c7.tar.gz
sqlite-2ecadd8869a5aafeaee736fbfd0dcb15990480c7.zip
Add the opfs-sahpool sqlite3_vfs implementation to JS, offering an alternative to the other OPFS VFS (with tradeoffs).
FossilOrigin-Name: d2e602cda44bf35e76167143262b4f91826d25780d0e095e680a31d5dedb2018
Diffstat (limited to 'ext/wasm/api/sqlite3-opfs-async-proxy.js')
-rw-r--r--ext/wasm/api/sqlite3-opfs-async-proxy.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-opfs-async-proxy.js b/ext/wasm/api/sqlite3-opfs-async-proxy.js
index 179a81635..cafd296c6 100644
--- a/ext/wasm/api/sqlite3-opfs-async-proxy.js
+++ b/ext/wasm/api/sqlite3-opfs-async-proxy.js
@@ -35,6 +35,9 @@
https://developer.chrome.com/blog/sync-methods-for-accesshandles/
+ Firefox v111 and Safari 16.4, both released in March 2023, also
+ include this.
+
We cannot change to the sync forms at this point without breaking
clients who use Chrome v104-ish or higher. truncate(), getSize(),
flush(), and close() are now (as of v108) synchronous. Calling them