web library

Storage in a browser: tomOpenBrowserMedium, a keyed file medium over IndexedDB (an in-memory stand-in off the web, so a VM test still loads).

Functions

tomOpenBrowserMedium(String namespace) → TomBundleMedium
The medium holding namespace's durable state for this origin. Each namespace is its own IndexedDB database, named namespace; prefix it with the application's name (myapp.journal) so two applications on one origin cannot meet.

Exceptions / Errors

TomBrowserStorageException
What the browser said when it refused a read or a write.