Skip to content

Truly independent web browser

681 B
Raw Blame
[Exposed=(Window,Worker), ImplementedIn=Rust]
interface IDBCursor {
    readonly attribute (IDBObjectStore or IDBIndex) source;
    readonly attribute IDBCursorDirection direction;
    [NeedsCallerRealm] readonly attribute any key;
    [NeedsCallerRealm] readonly attribute any primaryKey;
    [SameObject] readonly attribute IDBRequest request;
    undefined advance([EnforceRange] unsigned long count);
    undefined continue(optional any key);
    undefined continuePrimaryKey(any key, any primaryKey);
    [NewObject] IDBRequest update(any value);
    [NewObject] IDBRequest delete();
};

enum IDBCursorDirection {
    "next",
    "nextunique",
    "prev",
    "prevunique"
};