sqlite_async.dart
sqlite_async.dart copied to clipboard
Fix web database not respecting lock timeouts
The readLock and writeLock APIs have a lockTimeout parameter to not wait on locks longer than intended. The WebDatabase implementation did not forward these arguments properly, this fixes that.
I've also removed an unused field on MutexImpl on the web and simplified the check for navigator.locks a bit.