HomeSort by relevance Sort by last modified time
    Searched full:objectstore (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/webkit/LayoutTests/storage/indexeddb/
cursor-skip-deleted-expected.txt 13 objectStore = db.createObjectStore('store', {keyPath: 'id'})
14 objectStore.createIndex('nameIndex', 'name')
22 trans.objectStore('store').openCursor(webkitIDBKeyRange.lowerBound(0))
25 request = trans.objectStore('store').delete(0)
27 request = trans.objectStore('store').delete(25)
29 request = trans.objectStore('store').delete(5)
30 request = trans.objectStore('store').delete(6)
31 request = trans.objectStore('store').delete(7)
36 request = trans.objectStore('store').delete(10)
39 request = trans.objectStore('store').delete(13
    [all...]
transaction-and-objectstore-calls-expected.txt 1 Test IndexedDB's transaction and objectStore calls
8 webkitIndexedDB.open('transaction-and-objectstore-calls', 'description')
18 trans.objectStore('a')
19 Expecting exception from trans.objectStore('b')
22 Expecting exception from trans.objectStore('x')
27 trans.objectStore('a')
28 Expecting exception from trans.objectStore('b')
31 Expecting exception from trans.objectStore('x')
36 trans.objectStore('b')
37 Expecting exception from trans.objectStore('a'
    [all...]
cursor-delete-expected.txt 13 objectStore = db.createObjectStore('test')
14 objectStore.add('myValue1', 'myKey1')
15 objectStore.add('myValue2', 'myKey2')
16 objectStore.add('myValue3', 'myKey3')
17 objectStore.add('myValue4', 'myKey4')
20 trans.objectStore('test').openCursor({range: keyRange})
34 trans.objectStore('test').openCursor(keyRange)
37 objectStore = trans.objectStore('test')
38 objectStore.add('myValue1', 'myKey1'
    [all...]
transaction-and-objectstore-calls.html 13 description("Test IndexedDB's transaction and objectStore calls");
22 request = evalAndLog("webkitIndexedDB.open('transaction-and-objectstore-calls', 'description')");
49 evalAndLog("trans.objectStore('a')");
50 evalAndExpectException("trans.objectStore('b')", "webkitIDBDatabaseException.NOT_FOUND_ERR");
51 evalAndExpectException("trans.objectStore('x')", "webkitIDBDatabaseException.NOT_FOUND_ERR");
55 evalAndLog("trans.objectStore('a')");
56 evalAndExpectException("trans.objectStore('b')", "webkitIDBDatabaseException.NOT_FOUND_ERR");
57 evalAndExpectException("trans.objectStore('x')", "webkitIDBDatabaseException.NOT_FOUND_ERR");
61 evalAndLog("trans.objectStore('b')");
62 evalAndExpectException("trans.objectStore('a')", "webkitIDBDatabaseException.NOT_FOUND_ERR")
    [all...]
cursor-index-delete-expected.txt 13 objectStore = db.createObjectStore('test')
14 objectStore.createIndex('testIndex', 'x')
15 objectStore.add({x: 1}, 'myKey1')
16 objectStore.add({x: 2}, 'myKey2')
17 objectStore.add({x: 3}, 'myKey3')
18 objectStore.add({x: 4}, 'myKey4')
21 trans.objectStore('test').index('testIndex').openCursor(keyRange)
35 trans.objectStore('test').index('testIndex').openCursor(keyRange)
38 objectStore = trans.objectStore('test'
    [all...]
cursor-delete.html 45 var objectStore = evalAndLog("objectStore = db.createObjectStore('test')");
46 evalAndLog("objectStore.add('myValue1', 'myKey1')");
47 evalAndLog("objectStore.add('myValue2', 'myKey2')");
48 evalAndLog("objectStore.add('myValue3', 'myKey3')");
49 evalAndLog("objectStore.add('myValue4', 'myKey4')");
57 request = evalAndLog("trans.objectStore('test').openCursor({range: keyRange})");
67 request = evalAndLog("trans.objectStore('test').openCursor(keyRange)");
86 objectStore = evalAndLog("objectStore = trans.objectStore('test')")
    [all...]
cursor-continue-expected.txt 13 objectStore.createIndex('someIndex', 'x')
14 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
15 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
16 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
17 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
18 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
19 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
20 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
21 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
22 objectStore.add({'x': testData[nextToAdd]}, nextToAdd
    [all...]
create-object-store-options-expected.txt 17 trans.objectStore('a').put({'a': 0})
18 trans.objectStore('b').put({'a': 0}, 0)
19 trans.objectStore('a').get(0)
21 trans.objectStore('b').get(0)
cursor-update-expected.txt 13 objectStore = db.createObjectStore('basicStore')
14 objectStore.add('myValue1', 'myKey1').onerror = unexpectedErrorCallback
15 objectStore.add('myValue2', 'myKey2').onerror = unexpectedErrorCallback
16 objectStore.add('myValue3', 'myKey3').onerror = unexpectedErrorCallback
17 objectStore.add('myValue4', 'myKey4').onerror = unexpectedErrorCallback
18 objectStore = db.createObjectStore('autoIncrementStore', {autoIncrement: true})
19 objectStore.add('foo1').onerror = unexpectedErrorCallback
20 objectStore.add('foo2').onerror = unexpectedErrorCallback
21 objectStore.add('foo3').onerror = unexpectedErrorCallback
22 objectStore.add('foo4').onerror = unexpectedErrorCallbac
    [all...]
cursor-update.html 45 var objectStore = evalAndLog("objectStore = db.createObjectStore('basicStore')");
46 evalAndLog("objectStore.add('myValue1', 'myKey1').onerror = unexpectedErrorCallback");
47 evalAndLog("objectStore.add('myValue2', 'myKey2').onerror = unexpectedErrorCallback");
48 evalAndLog("objectStore.add('myValue3', 'myKey3').onerror = unexpectedErrorCallback");
49 evalAndLog("objectStore.add('myValue4', 'myKey4').onerror = unexpectedErrorCallback");
51 var objectStore = evalAndLog("objectStore = db.createObjectStore('autoIncrementStore', {autoIncrement: true})");
52 evalAndLog("objectStore.add('foo1').onerror = unexpectedErrorCallback");
53 evalAndLog("objectStore.add('foo2').onerror = unexpectedErrorCallback")
    [all...]
cursor-index-delete.html 45 objectStore = evalAndLog("objectStore = db.createObjectStore('test')");
46 evalAndLog("objectStore.createIndex('testIndex', 'x')");
48 evalAndLog("objectStore.add({x: 1}, 'myKey1')");
49 evalAndLog("objectStore.add({x: 2}, 'myKey2')");
50 evalAndLog("objectStore.add({x: 3}, 'myKey3')");
51 evalAndLog("objectStore.add({x: 4}, 'myKey4')");
59 request = evalAndLog("trans.objectStore('test').index('testIndex').openCursor(keyRange)");
69 request = evalAndLog("trans.objectStore('test').index('testIndex').openCursor(keyRange)");
89 objectStore = evalAndLog("objectStore = trans.objectStore('test')")
    [all...]
open-cursor-expected.txt 13 objectStore = db.createObjectStore('test')
14 objectStore.add('myValue', 'myKey')
26 objectStore.openCursor(keyRange)
data-corruption-expected.txt 17 request = transaction.objectStore('storeName').add({x: testDate}, 'key')
20 request = transaction.objectStore('storeName').get('key')
exception-in-event-aborts-expected.txt 22 store = trans.objectStore('storeName')
32 store = trans.objectStore('storeName')
42 store = trans.objectStore('storeName')
52 store = trans.objectStore('storeName')
error-causes-abort-by-default-expected.txt 18 store = trans.objectStore('storeName')
28 store = trans.objectStore('storeName')
37 store = trans.objectStore('storeName')
objectstore-removeobjectstore-expected.txt 6 webkitIndexedDB.open('objectstore-removeobjectstore')
17 store = transaction.objectStore('storeName')
26 store = transaction.objectStore('storeName')
transaction-read-only-expected.txt 16 Expecting exception from trans.objectStore('store').put('a', 'b')
20 Expecting exception from trans.objectStore('store').delete('x')
24 cur = trans.objectStore('store').openCursor()
cursor-skip-deleted.html 50 var objectStore = evalAndLog("objectStore = db.createObjectStore('store', {keyPath: 'id'})");
51 evalAndLog("objectStore.createIndex('nameIndex', 'name')");
63 var objectStore = trans.objectStore('store');
65 objectStore.delete(i).onerror = silentErrorHandler;
67 objectStore.add({id: i, name: names[i]}).onerror = unexpectedErrorCallback;
132 request = evalAndLog("request = trans.objectStore('store').delete(" + targets[j] + ")");
162 testCursor(deletes, "trans.objectStore('store').openCursor(webkitIDBKeyRange.lowerBound(0))", function() { resetObjectStore(reverseCursorTest); });
179 testCursor(deletes, "trans.objectStore('store').openCursor(webkitIDBKeyRange.lowerBound(0), webkitIDBCursor.PREV)", function() { resetObj (…)
    [all...]
transaction-read-only.html 49 evalAndExpectException("trans.objectStore('store').put('a', 'b')", "webkitIDBDatabaseException.READ_ONLY_ERR");
52 evalAndExpectException("trans.objectStore('store').delete('x')", "webkitIDBDatabaseException.READ_ONLY_ERR");
55 cur = evalAndLog("cur = trans.objectStore('store').openCursor()");
create-object-store-options.html 49 req = evalAndLog("trans.objectStore('a').put({'a': 0})");
56 req = evalAndLog("trans.objectStore('b').put({'a': 0}, 0)"); // OOPS
63 req = evalAndLog("trans.objectStore('a').get(0)");
72 req = evalAndLog("trans.objectStore('b').get(0)");
objectstore-autoincrement-expected.txt 6 webkitIndexedDB.open('objectstore-autoincrement')
27 store = trans.objectStore('StoreWithKeyPath')
41 store = trans.objectStore('StoreWithAutoIncrement')
57 store = trans.objectStore('PlainOldStore')
  /external/webkit/Source/WebCore/storage/
IDBObjectStoreBackendImpl.cpp 86 RefPtr<IDBObjectStoreBackendImpl> objectStore = this;
89 if (!transaction->scheduleTask(createCallbackTask(&IDBObjectStoreBackendImpl::getInternal, objectStore, key, callbacks)))
93 void IDBObjectStoreBackendImpl::getInternal(ScriptExecutionContext*, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks)
95 String wireData = objectStore->m_backingStore->getObjectStoreRecord(objectStore->m_databaseId, objectStore->id(), *key);
128 RefPtr<IDBObjectStoreBackendImpl> objectStore = this;
135 if (!transaction->scheduleTask(createCallbackTask(&IDBObjectStoreBackendImpl::putInternal, objectStore, value, key, putMode, callbacks, transaction)))
139 PassRefPtr<IDBKey> IDBObjectStoreBackendImpl::selectKeyForPut(IDBObjectStoreBackendImpl* objectStore, IDBKey* key, PutMode putMode, IDBCallbacks* callbacks, RefPtr<SerializedScriptValue>& value)
144 const bool autoIncrement = objectStore->autoIncrement()
    [all...]
IDBDatabaseBackendImpl.cpp 109 RefPtr<IDBObjectStoreBackendImpl> objectStore = IDBObjectStoreBackendImpl::create(m_backingStore.get(), m_id, name, keyPath, autoIncrement);
110 ASSERT(objectStore->name() == name);
114 if (!transaction->scheduleTask(createCallbackTask(&IDBDatabaseBackendImpl::createObjectStoreInternal, database, objectStore, transaction),
115 createCallbackTask(&IDBDatabaseBackendImpl::removeObjectStoreFromMap, database, objectStore))) {
120 m_objectStores.set(name, objectStore);
121 return objectStore.release();
124 void IDBDatabaseBackendImpl::createObjectStoreInternal(ScriptExecutionContext*, PassRefPtr<IDBDatabaseBackendImpl> database, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDBTransactionBackendInterface> transaction)
128 if (!database->m_backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objectStore->autoIncrement(), objectStoreId))
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
IDBTransactionBackendProxy.cpp 57 PassRefPtr<IDBObjectStoreBackendInterface> IDBTransactionBackendProxy::objectStore(const String& name, ExceptionCode& ec)
59 WebIDBObjectStore* objectStore = m_webIDBTransaction->objectStore(name, ec);
60 if (!objectStore)
62 return IDBObjectStoreBackendProxy::create(objectStore);
WebIDBTransactionImpl.cpp 54 WebIDBObjectStore* WebIDBTransactionImpl::objectStore(const WebString& name, ExceptionCode& ec)
56 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->objectStore(name, ec);
57 if (!objectStore)
59 return new WebIDBObjectStoreImpl(objectStore);

Completed in 242 milliseconds

1 2 3 4