Skip to content

IDBFactory

Generated from idl/indexeddb.webidl when the site was built at 7aa23e2.

IDBFactory is an interface in idl/indexeddb.webidl, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
IndexedDB Widely available Partial 95% 2929 of 3061 subtests pass 5
operation
[NewObject] IDBOpenDBRequest open(DOMString name, optional [EnforceRange] unsigned long long version);
int32_t niso_idb_factory_open(niso_dom* dom, niso_handle self, const char* name, size_t name_len, bool has_version, uint64_t version, niso_handle* out);
operation
[NewObject] IDBOpenDBRequest deleteDatabase(DOMString name);
int32_t niso_idb_factory_delete_database(niso_dom* dom, niso_handle self, const char* name, size_t name_len, niso_handle* out);
operation
[NisoGlue] Promise<sequence<IDBDatabaseInfo>> databases();
operation
[NisoGlue] short cmp(any first, any second);
operation not in JS
[NisoInternal] any databaseList();
int32_t niso_idb_factory_database_list(niso_dom* dom, niso_handle self, niso_bytes* out);

The databases of the storage key as an Array of [name, version], for databases(); throws a “SecurityError” DOMException for an opaque origin.

Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.

  • worker_support (IndexedDB)