1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Libraries/LibWeb/IndexedDB/IDBCursor.idl
2025-05-06 13:30:37 +01:00

22 lines
727 B
Text

#import <IndexedDB/IDBRequest.idl>
[Exposed=(Window,Worker)]
interface IDBCursor {
[ImplementedAs=source_handle] readonly attribute (IDBObjectStore or IDBIndex) source;
readonly attribute IDBCursorDirection direction;
readonly attribute any key;
[FIXME] readonly attribute any primaryKey;
[SameObject] readonly attribute IDBRequest request;
[FIXME] undefined advance([EnforceRange] unsigned long count);
undefined continue(optional any key);
[FIXME] undefined continuePrimaryKey(any key, any primaryKey);
[FIXME, NewObject] IDBRequest update(any value);
[FIXME, NewObject] IDBRequest delete();
};
enum IDBCursorDirection {
"next",
"nextunique",
"prev",
"prevunique"
};