/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/IDBVersionChangeEvent.webidl
23 строки
851 B
Josh Matthews
script: Expose IDBVersionChangeEvent to worker globals. (#37573)
20 июн 2025, 10:42
Не верифицирован
20 июн 2025, 10:42
518729a
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ /* * The origin of this IDL file is * https://w3c.github.io/IndexedDB/#idbversionchangeevent * */ // https://w3c.github.io/IndexedDB/#idbversionchangeevent [Pref="dom_indexeddb_enabled", Exposed=(Window,Worker)] interface IDBVersionChangeEvent : Event { constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {}); readonly attribute unsigned long long oldVersion; readonly attribute unsigned long long? newVersion; }; // https://w3c.github.io/IndexedDB/#idbversionchangeevent dictionary IDBVersionChangeEventInit : EventInit { unsigned long long oldVersion = 0; unsigned long long? newVersion = null; };