probably best to close this

This commit is contained in:
Bruno Windels 2021-03-04 22:09:11 +01:00
parent e820f0e7b9
commit d08c41c13a

View file

@ -32,6 +32,7 @@ export async function detectWebkitEarlyCloseTxnBug() {
await Promise.resolve();
writeTxn.objectStore("test").add({key: "somekey", value: "foo"});
await txnAsPromise(writeTxn);
db.close();
} catch (err) {
if (err.name === "TransactionInactiveError") {
return true;