aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-opfs-async-proxy.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-07-16 11:49:18 +0000
committerstephan <stephan@noemail.net>2023-07-16 11:49:18 +0000
commit8449dacbd4204dd3144919cd83ae872ca77f2b46 (patch)
tree67b9486cc16c974fb5ab0acde3457ef58a01265b /ext/wasm/api/sqlite3-opfs-async-proxy.js
parentd0ae50411f36b52e358343e7fd1095ed663513b7 (diff)
downloadsqlite-8449dacbd4204dd3144919cd83ae872ca77f2b46.tar.gz
sqlite-8449dacbd4204dd3144919cd83ae872ca77f2b46.zip
Micro-optimizations in opfs-sahpool.
FossilOrigin-Name: 52f23db948ae9694df69c00177b85cb569e9b211350a4a2dbf249e7cd8de700c
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