summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/indexeddb/IDBCursor.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/indexeddb/IDBCursor.idl')
-rw-r--r--Source/WebCore/Modules/indexeddb/IDBCursor.idl18
1 files changed, 11 insertions, 7 deletions
diff --git a/Source/WebCore/Modules/indexeddb/IDBCursor.idl b/Source/WebCore/Modules/indexeddb/IDBCursor.idl
index e34ec827b..867fa46c4 100644
--- a/Source/WebCore/Modules/indexeddb/IDBCursor.idl
+++ b/Source/WebCore/Modules/indexeddb/IDBCursor.idl
@@ -24,16 +24,20 @@
*/
[
+ ActiveDOMObject,
Conditional=INDEXED_DATABASE,
- JSNoStaticTables,
+ CustomToJSObject,
+ JSCustomMarkFunction,
+ SkipVTableValidation,
] interface IDBCursor {
- readonly attribute IDBAny source;
- readonly attribute DOMString direction;
+ readonly attribute (IDBObjectStore or IDBIndex) source;
+ readonly attribute IDBCursorDirection direction;
readonly attribute any key;
readonly attribute any primaryKey;
- [CallWith=ScriptState, RaisesException] IDBRequest update(any value);
- [RaisesException] void advance([EnforceRange] unsigned long count);
- [CallWith=ScriptExecutionContext, ImplementedAs=continueFunction, RaisesException] void continue(optional any key);
- [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete();
+ [CallWith=ScriptState, MayThrowException] IDBRequest update(any value);
+ [MayThrowException] void advance([EnforceRange] unsigned long count);
+ [CallWith=ScriptState, ImplementedAs=continueFunction, MayThrowException] void continue(optional any key);
+ [CallWith=ScriptState, MayThrowException] void continuePrimaryKey(any key, any primaryKey);
+ [CallWith=ScriptState, ImplementedAs=deleteFunction, MayThrowException] IDBRequest delete();
};