With Edge it seems that persistent indexeddb is not possible. In the developer tools, Application/IndexedDB is shown as not persisted, and I don't see how this can be changed. On Chrome, open chrome://settings/content/siteData and either allow all web sites or just yours. And you need a secure context, as so often.