@@ -2099,7 +2099,7 @@ This specification fires events with the following custom interfaces:
2099
2099
2100
2100
<xmp class=idl>
2101
2101
[Exposed=(Window,Worker),
2102
- Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict)]
2102
+ Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {} )]
2103
2103
interface IDBVersionChangeEvent : Event {
2104
2104
readonly attribute unsigned long long oldVersion;
2105
2105
readonly attribute unsigned long long? newVersion;
@@ -2454,8 +2454,9 @@ interface IDBDatabase : EventTarget {
2454
2454
optional IDBTransactionMode mode = "readonly");
2455
2455
void close();
2456
2456
2457
- [NewObject] IDBObjectStore createObjectStore(DOMString name,
2458
- optional IDBObjectStoreParameters options);
2457
+ [NewObject] IDBObjectStore createObjectStore(
2458
+ DOMString name,
2459
+ optional IDBObjectStoreParameters options = {});
2459
2460
void deleteObjectStore(DOMString name);
2460
2461
2461
2462
// Event handlers:
@@ -2771,7 +2772,7 @@ interface IDBObjectStore {
2771
2772
2772
2773
[NewObject] IDBIndex createIndex(DOMString name,
2773
2774
(DOMString or sequence<DOMString>) keyPath,
2774
- optional IDBIndexParameters options);
2775
+ optional IDBIndexParameters options = {} );
2775
2776
void deleteIndex(DOMString name);
2776
2777
};
2777
2778
0 commit comments