diff options
Diffstat (limited to 'WebCore/storage/IDBIndex.idl')
-rw-r--r-- | WebCore/storage/IDBIndex.idl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/WebCore/storage/IDBIndex.idl b/WebCore/storage/IDBIndex.idl index ba3ecea..7c2c962 100644 --- a/WebCore/storage/IDBIndex.idl +++ b/WebCore/storage/IDBIndex.idl @@ -33,11 +33,14 @@ module storage { readonly attribute DOMString keyPath; readonly attribute boolean unique; - // FIXME: All of these should raise on certain errors. - [CallWith=ScriptExecutionContext] IDBRequest openObjectCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction); - [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction); - [CallWith=ScriptExecutionContext] IDBRequest getObject(in IDBKey key); - [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key); + [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction) + raises (IDBDatabaseException); + [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction) + raises (IDBDatabaseException); + [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) + raises (IDBDatabaseException); + [CallWith=ScriptExecutionContext] IDBRequest getKey(in IDBKey key) + raises (IDBDatabaseException); }; } |