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

Side by Side Diff: LayoutTests/storage/indexeddb/index-basics-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 Test the basics of IndexedDB's webkitIDBIndex. 1 Test the basics of IndexedDB's webkitIDBIndex.
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 = "index-basics.html" 8 dbname = "index-basics.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 PASS event.target.result is 4 123 PASS event.target.result is 4
124 request = indexObject2.count() 124 request = indexObject2.count()
125 PASS event.target.result is 3 125 PASS event.target.result is 3
126 request = indexObject3.count() 126 request = indexObject3.count()
127 PASS event.target.result is 2 127 PASS event.target.result is 2
128 Passing an invalid key into indexObject.get({}). 128 Passing an invalid key into indexObject.get({}).
129 Expecting exception from indexObject.get({}) 129 Expecting exception from indexObject.get({})
130 PASS Exception was thrown. 130 PASS Exception was thrown.
131 PASS code is 0 131 PASS code is 0
132 PASS ename is 'DataError' 132 PASS ename is 'DataError'
133 Exception message: The parameter is not a valid key.
133 Passing an invalid key into indexObject.getKey({}). 134 Passing an invalid key into indexObject.getKey({}).
134 Expecting exception from indexObject.getKey({}) 135 Expecting exception from indexObject.getKey({})
135 PASS Exception was thrown. 136 PASS Exception was thrown.
136 PASS code is 0 137 PASS code is 0
137 PASS ename is 'DataError' 138 PASS ename is 'DataError'
139 Exception message: The parameter is not a valid key.
138 PASS successfullyParsed is true 140 PASS successfullyParsed is true
139 141
140 TEST COMPLETE 142 TEST COMPLETE
141 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698