         for (let i = 0; i < 10; i += 1) {
                    storage.openTxn("readonly", "foos").objectStore("foos").get(5);
                    //console.log("from readtxn", await reqAsPromise(storage.openTxn("readonly", "foos").objectStore("foos").get(5)));
                    const txn = storage.openTxn("readwrite", "foos");
                    const store = txn.objectStore("foos");
                    console.log("writing the foos");
                    store.put({id: 5, name: "foo"});
               