зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577085 [wpt PR 18716] - Update interfaces/IndexedDB.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/IndexedDB.idl (#18716) Source: https://github.com/tidoust/reffy-reports/blob/3eeb4d0/whatwg/idl/IndexedDB.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/577694005 -- wpt-commits: 772c8e3eded299d8a098ddac8b0ef42e7e24161e wpt-pr: 18716
This commit is contained in:
Родитель
2d8d46b28b
Коммит
a6b81ac82e
|
@ -29,7 +29,7 @@ interface IDBOpenDBRequest : IDBRequest {
|
|||
};
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict)]
|
||||
Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {})]
|
||||
interface IDBVersionChangeEvent : Event {
|
||||
readonly attribute unsigned long long oldVersion;
|
||||
readonly attribute unsigned long long? newVersion;
|
||||
|
@ -70,8 +70,9 @@ interface IDBDatabase : EventTarget {
|
|||
optional IDBTransactionMode mode = "readonly");
|
||||
void close();
|
||||
|
||||
[NewObject] IDBObjectStore createObjectStore(DOMString name,
|
||||
optional IDBObjectStoreParameters options);
|
||||
[NewObject] IDBObjectStore createObjectStore(
|
||||
DOMString name,
|
||||
optional IDBObjectStoreParameters options = {});
|
||||
void deleteObjectStore(DOMString name);
|
||||
|
||||
// Event handlers:
|
||||
|
@ -115,7 +116,7 @@ interface IDBObjectStore {
|
|||
|
||||
[NewObject] IDBIndex createIndex(DOMString name,
|
||||
(DOMString or sequence<DOMString>) keyPath,
|
||||
optional IDBIndexParameters options);
|
||||
optional IDBIndexParameters options = {});
|
||||
void deleteIndex(DOMString name);
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче