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

Side by Side Diff: LayoutTests/storage/indexeddb/object-lookups-in-versionchange-expected.txt

Issue 19107003: IndexedDB: Log exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 Regression test for http://webkit.org/b/102547 1 Regression test for http://webkit.org/b/102547
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 = "object-lookups-in-versionchange.html" 8 dbname = "object-lookups-in-versionchange.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
11 db = event.target.result 11 db = event.target.result
12 transaction = event.target.transaction 12 transaction = event.target.transaction
13 store = db.createObjectStore('store') 13 store = db.createObjectStore('store')
14 14
15 Expecting exception from transaction.objectStore('no-such-store') 15 Expecting exception from transaction.objectStore('no-such-store')
16 PASS Exception was thrown. 16 PASS Exception was thrown.
17 PASS code is DOMException.NOT_FOUND_ERR 17 PASS code is DOMException.NOT_FOUND_ERR
18 PASS ename is 'NotFoundError' 18 PASS ename is 'NotFoundError'
19 Exception message: The specified object store was not found.
19 20
20 Expecting exception from store.index('no-such-index') 21 Expecting exception from store.index('no-such-index')
21 PASS Exception was thrown. 22 PASS Exception was thrown.
22 PASS code is DOMException.NOT_FOUND_ERR 23 PASS code is DOMException.NOT_FOUND_ERR
23 PASS ename is 'NotFoundError' 24 PASS ename is 'NotFoundError'
25 Exception message: The specified index was not found.
24 PASS successfullyParsed is true 26 PASS successfullyParsed is true
25 27
26 TEST COMPLETE 28 TEST COMPLETE
27 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698