diff options
author | stephan <stephan@noemail.net> | 2022-12-02 07:14:56 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-02 07:14:56 +0000 |
commit | cc70dfe679b61346d0cece11a1e70f97b14c1524 (patch) | |
tree | f82f31d9a04efdf7cef440b86e541ec8baa5d288 /ext/wasm/api/sqlite3-api-prologue.js | |
parent | 31892c28206a4516a077b9ab233379ab23ab9652 (diff) | |
download | sqlite-cc70dfe679b61346d0cece11a1e70f97b14c1524.tar.gz sqlite-cc70dfe679b61346d0cece11a1e70f97b14c1524.zip |
Expand JS tests for db export/import and document reason it cannot currently work with kvvfs. Fix a minor JS build dependencies bug. Update page title with PASS/FAIL prefix for tester1.js to improve overview when launching multiple test tabs. Add ability of tester1 should-run-test predicates to report why a given test is disabled.
FossilOrigin-Name: 75f610d3a4cf3d972220f9abc27cdf5990451e3835ceb9cf66973934004dfc5c
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js index 1bc1c1559..a99065663 100644 --- a/ext/wasm/api/sqlite3-api-prologue.js +++ b/ext/wasm/api/sqlite3-api-prologue.js @@ -1368,13 +1368,15 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap( - "memdb": results are undefined. - - "kvvfs": results are undefined. + - "kvvfs": will fail with an I/O error due to strict internal + requirments of that VFS's xTruncate(). - "unix" and related: will use the WASM build's equivalent of the - POSIX I/O APIs. + POSIX I/O APIs. This will work so long as neither a specific + VFS nor the WASM environment imposes requirements which break it. - - "opfs": if available, uses OPFS storage and _does_ create - directory parts of the filename. + - "opfs": uses OPFS storage and creates directory parts of the + filename. */ capi.sqlite3_js_vfs_create_file = function(vfs, filename, data, dataLen){ let pData; |