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

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

Issue 1149873008: IndexedDB: IDL and tests for IDBObjectStore.getAllKeys(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idb-objectstore-getallkeys
Patch Set: Second patch update. 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Expecting exception from deletedStore.getAll(0) 46 Expecting exception from deletedStore.getAll(0)
47 PASS Exception was thrown. 47 PASS Exception was thrown.
48 PASS code is DOMException.INVALID_STATE_ERR 48 PASS code is DOMException.INVALID_STATE_ERR
49 PASS ename is 'InvalidStateError' 49 PASS ename is 'InvalidStateError'
50 Exception message: Failed to execute 'getAll' on 'IDBObjectStore': The object st ore has been deleted. 50 Exception message: Failed to execute 'getAll' on 'IDBObjectStore': The object st ore has been deleted.
51 Expecting exception from deletedStore.getAll(IDBKeyRange.only(0)) 51 Expecting exception from deletedStore.getAll(IDBKeyRange.only(0))
52 PASS Exception was thrown. 52 PASS Exception was thrown.
53 PASS code is DOMException.INVALID_STATE_ERR 53 PASS code is DOMException.INVALID_STATE_ERR
54 PASS ename is 'InvalidStateError' 54 PASS ename is 'InvalidStateError'
55 Exception message: Failed to execute 'getAll' on 'IDBObjectStore': The object st ore has been deleted. 55 Exception message: Failed to execute 'getAll' on 'IDBObjectStore': The object st ore has been deleted.
56 Expecting exception from deletedStore.getAllKeys(0)
57 PASS Exception was thrown.
58 PASS code is DOMException.INVALID_STATE_ERR
59 PASS ename is 'InvalidStateError'
60 Exception message: Failed to execute 'getAllKeys' on 'IDBObjectStore': The objec t store has been deleted.
61 Expecting exception from deletedStore.getAllKeys(IDBKeyRange.only(0))
62 PASS Exception was thrown.
63 PASS code is DOMException.INVALID_STATE_ERR
64 PASS ename is 'InvalidStateError'
65 Exception message: Failed to execute 'getAllKeys' on 'IDBObjectStore': The objec t store has been deleted.
56 Expecting exception from deletedStore.clear() 66 Expecting exception from deletedStore.clear()
57 PASS Exception was thrown. 67 PASS Exception was thrown.
58 PASS code is DOMException.INVALID_STATE_ERR 68 PASS code is DOMException.INVALID_STATE_ERR
59 PASS ename is 'InvalidStateError' 69 PASS ename is 'InvalidStateError'
60 Exception message: Failed to execute 'clear' on 'IDBObjectStore': The object sto re has been deleted. 70 Exception message: Failed to execute 'clear' on 'IDBObjectStore': The object sto re has been deleted.
61 Expecting exception from deletedStore.openCursor() 71 Expecting exception from deletedStore.openCursor()
62 PASS Exception was thrown. 72 PASS Exception was thrown.
63 PASS code is DOMException.INVALID_STATE_ERR 73 PASS code is DOMException.INVALID_STATE_ERR
64 PASS ename is 'InvalidStateError' 74 PASS ename is 'InvalidStateError'
65 Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The objec t store has been deleted. 75 Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The objec t store has been deleted.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 Exception message: Failed to execute 'continue' on 'IDBCursor': The cursor's sou rce or effective object store has been deleted. 445 Exception message: Failed to execute 'continue' on 'IDBCursor': The cursor's sou rce or effective object store has been deleted.
436 Expecting exception from cursor.advance(1) 446 Expecting exception from cursor.advance(1)
437 PASS Exception was thrown. 447 PASS Exception was thrown.
438 PASS code is DOMException.INVALID_STATE_ERR 448 PASS code is DOMException.INVALID_STATE_ERR
439 PASS ename is 'InvalidStateError' 449 PASS ename is 'InvalidStateError'
440 Exception message: Failed to execute 'advance' on 'IDBCursor': The cursor's sour ce or effective object store has been deleted. 450 Exception message: Failed to execute 'advance' on 'IDBCursor': The cursor's sour ce or effective object store has been deleted.
441 PASS successfullyParsed is true 451 PASS successfullyParsed is true
442 452
443 TEST COMPLETE 453 TEST COMPLETE
444 454
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