summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/indexeddb/IDBRequest.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/indexeddb/IDBRequest.idl')
-rw-r--r--Source/WebCore/Modules/indexeddb/IDBRequest.idl27
1 files changed, 15 insertions, 12 deletions
diff --git a/Source/WebCore/Modules/indexeddb/IDBRequest.idl b/Source/WebCore/Modules/indexeddb/IDBRequest.idl
index c2c7e52e4..c1ec27b3b 100644
--- a/Source/WebCore/Modules/indexeddb/IDBRequest.idl
+++ b/Source/WebCore/Modules/indexeddb/IDBRequest.idl
@@ -11,7 +11,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -28,19 +28,22 @@
*/
[
- Conditional=INDEXED_DATABASE,
ActiveDOMObject,
- EventTarget,
- JSNoStaticTables,
- JSGenerateToJSObject,
- JSGenerateToNativeObject
+ Conditional=INDEXED_DATABASE,
+ GenerateIsReachable=Impl,
+ SkipVTableValidation,
] interface IDBRequest : EventTarget {
- [GetterRaisesException] readonly attribute IDBAny result;
- [GetterRaisesException] readonly attribute DOMError error;
- readonly attribute IDBAny source;
+ [GetterMayThrowException] readonly attribute (IDBCursor or IDBDatabase or any)? result;
+ [GetterMayThrowException] readonly attribute DOMError? error;
+ readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source;
readonly attribute IDBTransaction transaction;
- readonly attribute DOMString readyState;
+ readonly attribute IDBRequestReadyState readyState;
+
+ attribute EventHandler onsuccess;
+ attribute EventHandler onerror;
+};
- attribute EventListener onsuccess;
- attribute EventListener onerror;
+enum IDBRequestReadyState {
+ "pending",
+ "done"
};