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:
autofoolip 2019-09-02 12:22:37 +00:00 коммит произвёл moz-wptsync-bot
Родитель 2d8d46b28b
Коммит a6b81ac82e
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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);
};