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

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: Rebased and linkage fix Created 5 years, 3 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 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 dbname = "index-multientry.html" 7 dbname = "index-multientry.html"
7 indexedDB.deleteDatabase(dbname) 8 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname) 9 indexedDB.open(dbname)
9 store = db.createObjectStore('store') 10 store = db.createObjectStore('store')
10 store.createIndex('index', 'x', {multiEntry: true}) 11 store.createIndex('index', 'x', {multiEntry: true})
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 transaction = db.transaction(['store']) 172 transaction = db.transaction(['store'])
172 transaction.objectStore('store').index('index') 173 transaction.objectStore('store').index('index')
173 index.count() 174 index.count()
174 PASS event.target.result is 9 175 PASS event.target.result is 9
175 index.count(7) 176 index.count(7)
176 PASS event.target.result is 1 177 PASS event.target.result is 1
177 PASS successfullyParsed is true 178 PASS successfullyParsed is true
178 179
179 TEST COMPLETE 180 TEST COMPLETE
180 181
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698