Index: modules/indexeddb/IDBDatabase.idl |
diff --git a/modules/indexeddb/IDBDatabase.idl b/modules/indexeddb/IDBDatabase.idl |
index c6a8e289e8af65382b18fb7b42599a0f5880df86..49b6acf6b216ffd9a2d082322e932ad508b71bc8 100644 |
--- a/modules/indexeddb/IDBDatabase.idl |
+++ b/modules/indexeddb/IDBDatabase.idl |
@@ -25,14 +25,14 @@ |
*/ |
[ |
- ActiveDOMObject, |
- EventTarget |
-] interface IDBDatabase { |
+ ActiveDOMObject |
+] interface IDBDatabase : EventTarget { |
readonly attribute DOMString name; |
readonly attribute IDBAny version; |
readonly attribute DOMStringList objectStoreNames; |
attribute EventListener onabort; |
+ attribute EventListener onclose; |
attribute EventListener onerror; |
attribute EventListener onversionchange; |
@@ -43,13 +43,4 @@ |
[CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transaction(DOMString storeName, [Default=NullString] optional DOMString mode); |
void close(); |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event evt); |
}; |