frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Gracefully handle situations where the browser blocks access to IndexedDB

Open ianyong opened this issue 3 years ago • 0 comments

Context

The file system for the playground relies on the browser's IndexedDB for storage. In some browsers such as Firefox, access to IndexedDB is entirely prohibited when in private browsing mode (and does not seem likely to be supported anytime soon).

Proposed Changes

To investigate how to gracefully handle such situations once the code editor is linked up to the file system. Ideally, even if IndexedDB is blocked, the user should still be able to work on single file programs.

ianyong avatar Oct 14 '22 06:10 ianyong