Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: LayoutTests/storage/indexeddb/deleted-objects-expected.txt

Issue 1157173002: IndexedDB: IDL and tests for IDBIndex.getAllKeys. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idb-index-getallkeys
Patch Set: Rewound stable/virtual expected and made getAllKeys experimental Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test that IndexedDB objects that have been deleted throw exceptions 1 Test that IndexedDB objects that have been deleted throw exceptions
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "deleted-objects.html" 8 dbname = "deleted-objects.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 Expecting exception from deletedIndex.getAll(0) 207 Expecting exception from deletedIndex.getAll(0)
208 PASS Exception was thrown. 208 PASS Exception was thrown.
209 PASS code is DOMException.INVALID_STATE_ERR 209 PASS code is DOMException.INVALID_STATE_ERR
210 PASS ename is 'InvalidStateError' 210 PASS ename is 'InvalidStateError'
211 Exception message: Failed to execute 'getAll' on 'IDBIndex': The index or its ob ject store has been deleted. 211 Exception message: Failed to execute 'getAll' on 'IDBIndex': The index or its ob ject store has been deleted.
212 Expecting exception from deletedIndex.getAll(IDBKeyRange.only(0)) 212 Expecting exception from deletedIndex.getAll(IDBKeyRange.only(0))
213 PASS Exception was thrown. 213 PASS Exception was thrown.
214 PASS code is DOMException.INVALID_STATE_ERR 214 PASS code is DOMException.INVALID_STATE_ERR
215 PASS ename is 'InvalidStateError' 215 PASS ename is 'InvalidStateError'
216 Exception message: Failed to execute 'getAll' on 'IDBIndex': The index or its ob ject store has been deleted. 216 Exception message: Failed to execute 'getAll' on 'IDBIndex': The index or its ob ject store has been deleted.
217 Expecting exception from deletedIndex.getAllKeys(0)
218 PASS Exception was thrown.
219 PASS code is DOMException.INVALID_STATE_ERR
220 PASS ename is 'InvalidStateError'
221 Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The index or it s object store has been deleted.
222 Expecting exception from deletedIndex.getAllKeys(IDBKeyRange.only(0))
223 PASS Exception was thrown.
224 PASS code is DOMException.INVALID_STATE_ERR
225 PASS ename is 'InvalidStateError'
226 Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The index or it s object store has been deleted.
217 Expecting exception from deletedIndex.getKey(0) 227 Expecting exception from deletedIndex.getKey(0)
218 PASS Exception was thrown. 228 PASS Exception was thrown.
219 PASS code is DOMException.INVALID_STATE_ERR 229 PASS code is DOMException.INVALID_STATE_ERR
220 PASS ename is 'InvalidStateError' 230 PASS ename is 'InvalidStateError'
221 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted. 231 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted.
222 Expecting exception from deletedIndex.getKey(IDBKeyRange.only(0)) 232 Expecting exception from deletedIndex.getKey(IDBKeyRange.only(0))
223 PASS Exception was thrown. 233 PASS Exception was thrown.
224 PASS code is DOMException.INVALID_STATE_ERR 234 PASS code is DOMException.INVALID_STATE_ERR
225 PASS ename is 'InvalidStateError' 235 PASS ename is 'InvalidStateError'
226 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted. 236 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 Expecting exception from indexOfDeletedStore.get(0) 308 Expecting exception from indexOfDeletedStore.get(0)
299 PASS Exception was thrown. 309 PASS Exception was thrown.
300 PASS code is DOMException.INVALID_STATE_ERR 310 PASS code is DOMException.INVALID_STATE_ERR
301 PASS ename is 'InvalidStateError' 311 PASS ename is 'InvalidStateError'
302 Exception message: Failed to execute 'get' on 'IDBIndex': The index or its objec t store has been deleted. 312 Exception message: Failed to execute 'get' on 'IDBIndex': The index or its objec t store has been deleted.
303 Expecting exception from indexOfDeletedStore.get(IDBKeyRange.only(0)) 313 Expecting exception from indexOfDeletedStore.get(IDBKeyRange.only(0))
304 PASS Exception was thrown. 314 PASS Exception was thrown.
305 PASS code is DOMException.INVALID_STATE_ERR 315 PASS code is DOMException.INVALID_STATE_ERR
306 PASS ename is 'InvalidStateError' 316 PASS ename is 'InvalidStateError'
307 Exception message: Failed to execute 'get' on 'IDBIndex': The index or its objec t store has been deleted. 317 Exception message: Failed to execute 'get' on 'IDBIndex': The index or its objec t store has been deleted.
318 Expecting exception from indexOfDeletedStore.getAllKeys(0)
319 PASS Exception was thrown.
320 PASS code is DOMException.INVALID_STATE_ERR
321 PASS ename is 'InvalidStateError'
322 Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The index or it s object store has been deleted.
323 Expecting exception from indexOfDeletedStore.getAllKeys(IDBKeyRange.only(0))
324 PASS Exception was thrown.
325 PASS code is DOMException.INVALID_STATE_ERR
326 PASS ename is 'InvalidStateError'
327 Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The index or it s object store has been deleted.
308 Expecting exception from indexOfDeletedStore.getKey(0) 328 Expecting exception from indexOfDeletedStore.getKey(0)
309 PASS Exception was thrown. 329 PASS Exception was thrown.
310 PASS code is DOMException.INVALID_STATE_ERR 330 PASS code is DOMException.INVALID_STATE_ERR
311 PASS ename is 'InvalidStateError' 331 PASS ename is 'InvalidStateError'
312 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted. 332 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted.
313 Expecting exception from indexOfDeletedStore.getKey(IDBKeyRange.only(0)) 333 Expecting exception from indexOfDeletedStore.getKey(IDBKeyRange.only(0))
314 PASS Exception was thrown. 334 PASS Exception was thrown.
315 PASS code is DOMException.INVALID_STATE_ERR 335 PASS code is DOMException.INVALID_STATE_ERR
316 PASS ename is 'InvalidStateError' 336 PASS ename is 'InvalidStateError'
317 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted. 337 Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its ob ject store has been deleted.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 Exception message: Failed to execute 'continue' on 'IDBCursor': The cursor's sou rce or effective object store has been deleted. 435 Exception message: Failed to execute 'continue' on 'IDBCursor': The cursor's sou rce or effective object store has been deleted.
416 Expecting exception from cursor.advance(1) 436 Expecting exception from cursor.advance(1)
417 PASS Exception was thrown. 437 PASS Exception was thrown.
418 PASS code is DOMException.INVALID_STATE_ERR 438 PASS code is DOMException.INVALID_STATE_ERR
419 PASS ename is 'InvalidStateError' 439 PASS ename is 'InvalidStateError'
420 Exception message: Failed to execute 'advance' on 'IDBCursor': The cursor's sour ce or effective object store has been deleted. 440 Exception message: Failed to execute 'advance' on 'IDBCursor': The cursor's sour ce or effective object store has been deleted.
421 PASS successfullyParsed is true 441 PASS successfullyParsed is true
422 442
423 TEST COMPLETE 443 TEST COMPLETE
424 444
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698