Index: modules/indexeddb/IDBVersionChangeEvent.idl |
diff --git a/modules/indexeddb/IDBVersionChangeEvent.idl b/modules/indexeddb/IDBVersionChangeEvent.idl |
index 2d81f437ed581d1c3e135dd4ef95e0e4a45e0bd8..3ee0c58a0a129b45c17ea87e35e85ff8b2f15570 100644 |
--- a/modules/indexeddb/IDBVersionChangeEvent.idl |
+++ b/modules/indexeddb/IDBVersionChangeEvent.idl |
@@ -23,9 +23,11 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface IDBVersionChangeEvent : Event { |
- [CallWith=ExecutionContext] readonly attribute any oldVersion; |
- [CallWith=ExecutionContext] readonly attribute any newVersion; |
+[ |
+ EventConstructor |
+] interface IDBVersionChangeEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute unsigned long long oldVersion; |
+ [InitializedByEventConstructor] readonly attribute unsigned long long? newVersion; |
// FIXME: These are non-standard, see |
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22370 |