Skip to content

IDBVersionChangeEvent

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

IDBVersionChangeEvent is an interface in idl/indexeddb.webidl, inheriting Event, 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 4
constructor
constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {});
int32_t niso_idb_version_change_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_idb_version_change_event_init* event_init_dict, niso_handle* out);
attribute
readonly attribute unsigned long long oldVersion;
int32_t niso_idb_version_change_event_get_old_version(niso_dom* dom, niso_handle self, uint64_t* out);
attribute
[NisoGlue] readonly attribute unsigned long long? newVersion;
operation not in JS
[NisoInternal] any newVersionValue();
int32_t niso_idb_version_change_event_new_version_value(niso_dom* dom, niso_handle self, niso_bytes* out);

newVersion, as null or a number.

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)