29 : source(source), direction(dir) {}
31 IDBCursor::~IDBCursor() {}
46 if (!transaction->active)
51 if (!db->object_store_names->contains(
source->store_name))
73 transaction->AddRequest(
request);
82 if (!transaction->active)
91 if (!db->object_store_names->contains(
source->store_name))
105 return transaction->AddRequest(
121 NotImplemented(
"advance");
122 NotImplemented(
"update");
ExceptionOr< void > Continue(optional< Any > key)
void Trace(memory::HeapTracer *tracer) const override
void Trace(memory::HeapTracer *tracer) const override
const IDBCursorDirection direction
const Member< IDBObjectStore > source
const T & value() const &
optional< IdbKeyType > key
void Trace(const Traceable *ptr)
Member< IDBIterateCursorRequest > request
ExceptionOr< RefPtr< IDBRequest > > Delete()
IDBCursor(RefPtr< IDBObjectStore > source, IDBCursorDirection dir)
static JsError DOMException(ExceptionCode code)