Home | History | Annotate | Download | only in indexeddb

Lines Matching refs:scriptState

69 ScriptValue IDBIndex::keyPath(ScriptState* scriptState) const
71 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath));
74 IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState)
93 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
102 return openCursor(scriptState, keyRange, direction);
105 IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, IDBKeyRange* keyRange, blink::WebIDBCursorDirection direction)
107 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get());
113 IDBRequest* IDBIndex::count(ScriptState* scriptState, const ScriptValue& range, ExceptionState& exceptionState)
129 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
138 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get());
143 IDBRequest* IDBIndex::openKeyCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState)
162 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
170 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get());
176 IDBRequest* IDBIndex::get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState)
179 return getInternal(scriptState, key, exceptionState, false);
182 IDBRequest* IDBIndex::getKey(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState)
185 return getInternal(scriptState, key, exceptionState, true);
188 IDBRequest* IDBIndex::getInternal(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState, bool keyOnly)
203 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState);
215 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get());