Index: modules/indexeddb/IDBVersionChangeEvent.idl |
diff --git a/modules/indexeddb/IDBVersionChangeEvent.idl b/modules/indexeddb/IDBVersionChangeEvent.idl |
index 2f7360317aaa91b0c049c1684b342e36c71fa34e..b6656a7fd6db85922749c9d26714a83de9c0c707 100644 |
--- a/modules/indexeddb/IDBVersionChangeEvent.idl |
+++ b/modules/indexeddb/IDBVersionChangeEvent.idl |
@@ -27,18 +27,16 @@ |
// FIXME: This enum is non-standard, see |
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22370 |
-enum IDBDataLossAmount { |
- "none", |
- "total" |
-}; |
+enum IDBDataLossAmount { "none", "total" }; |
[ |
- EventConstructor |
+ Exposed=(Window,Worker), |
+ Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict) |
] interface IDBVersionChangeEvent : Event { |
- [InitializedByEventConstructor] readonly attribute unsigned long long oldVersion; |
- [InitializedByEventConstructor] readonly attribute unsigned long long? newVersion; |
+ readonly attribute unsigned long long oldVersion; |
+ readonly attribute unsigned long long? newVersion; |
// FIXME: These are non-standard, see |
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22370 |
- [InitializedByEventConstructor] readonly attribute IDBDataLossAmount dataLoss; |
+ readonly attribute IDBDataLossAmount dataLoss; |
readonly attribute DOMString dataLossMessage; |
}; |