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

Side by Side Diff: LayoutTests/storage/indexeddb/index-multientry-expected.txt

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't capture full stack unless devtools is visible Created 6 years 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 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index-unique ': at least one key does not satisfy the uniqueness requirements.
1 Test features of IndexedDB's multiEntry indices. 2 Test features of IndexedDB's multiEntry indices.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 8
8 dbname = "index-multientry.html" 9 dbname = "index-multientry.html"
9 indexedDB.deleteDatabase(dbname) 10 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 11 indexedDB.open(dbname)
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 transaction = db.transaction(['store']) 174 transaction = db.transaction(['store'])
174 transaction.objectStore('store').index('index') 175 transaction.objectStore('store').index('index')
175 index.count() 176 index.count()
176 PASS event.target.result is 9 177 PASS event.target.result is 9
177 index.count(7) 178 index.count(7)
178 PASS event.target.result is 1 179 PASS event.target.result is 1
179 PASS successfullyParsed is true 180 PASS successfullyParsed is true
180 181
181 TEST COMPLETE 182 TEST COMPLETE
182 183
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698