mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Merge kv-vfs branch into fiddle-opfs branch for [21915af560b1|synchronous=off fix]. Remove some duplicate debug output in OPFS test code.
FossilOrigin-Name: 13899bb98c80525276d2484598b94e4206358f243f06d45c02700024f7e226fd
This commit is contained in:
@ -439,7 +439,7 @@ const initOpfsBits = async function(sqlite3){
|
||||
let errCount = 0;
|
||||
[
|
||||
'FileSystemHandle', 'FileSystemFileHandle', 'FileSystemDirectoryHandle',
|
||||
'FileSystemHandle', 'FileSystemFileHandle', 'FileSystemDirectoryHandle'
|
||||
'FileSystemSyncAccessHandle'
|
||||
].forEach(function(n){
|
||||
const f = self[n];
|
||||
if(f){
|
||||
@ -452,6 +452,7 @@ const initOpfsBits = async function(sqlite3){
|
||||
});
|
||||
if(errCount) return;
|
||||
}
|
||||
warn('self',self);
|
||||
await initOpfsBits(sqlite3);
|
||||
|
||||
if(1) return;
|
||||
|
@ -118,9 +118,6 @@
|
||||
if(argv.indexOf('--memdb')>=0){
|
||||
log2('error',"WARNING: --memdb flag trumps db filename.");
|
||||
}
|
||||
if(argv.indexOf('--nosync')>=0){
|
||||
log2('error',"WARNING: --nosync flag is known to cause this test to fail.");
|
||||
}
|
||||
console.log("argv =",argv);
|
||||
// These log messages are not emitted to the UI until after main() returns. Fixing that
|
||||
// requires moving the main() call and related cleanup into a timeout handler.
|
||||
|
Reference in New Issue
Block a user