From a6b81ac82e126c49588ec144786317aeb6e03c66 Mon Sep 17 00:00:00 2001 From: autofoolip Date: Mon, 2 Sep 2019 12:22:37 +0000 Subject: [PATCH] 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 --- testing/web-platform/tests/interfaces/IndexedDB.idl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testing/web-platform/tests/interfaces/IndexedDB.idl b/testing/web-platform/tests/interfaces/IndexedDB.idl index f2625ebe53dd..a8ef47e89ab7 100644 --- a/testing/web-platform/tests/interfaces/IndexedDB.idl +++ b/testing/web-platform/tests/interfaces/IndexedDB.idl @@ -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) keyPath, - optional IDBIndexParameters options); + optional IDBIndexParameters options = {}); void deleteIndex(DOMString name); };