From 571bedd76d6625a05988db2c280d0b8d20c376d2 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 4 Mar 2021 19:50:23 +0100 Subject: [PATCH] doc improvement --- doc/INDEXEDDB.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/INDEXEDDB.md b/doc/INDEXEDDB.md index ebfa6580..317aeb4c 100644 --- a/doc/INDEXEDDB.md +++ b/doc/INDEXEDDB.md @@ -23,6 +23,8 @@ without waiting for any *micro*tasks. See comments about Safari at https://githu Another failure mode perceived in Hydrogen on Safari is that when the (readonly) prepareTxn in sync wasn't awaited to be completed before opening and using the syncTxn. I haven't found any documentation online about this at all. Awaiting prepareTxn.complete() fixed the issue below. It's strange though the put does not fail. +## Diagnose of problem + What is happening below is: - in the sync loop: - we first open a readonly txn on inboundGroupSessions, which we don't use in the example below