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

Side by Side Diff: LayoutTests/storage/indexeddb/lazy-index-population-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 'index1': at least one key does not satisfy the uniqueness requirements.
2 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index2': at least one key does not satisfy the uniqueness requirements.
3 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index4': at least one key does not satisfy the uniqueness requirements.
1 Verify edge cases that lazy index population in an IndexedDB implementation migh t reveal. 4 Verify edge cases that lazy index population in an IndexedDB implementation migh t reveal.
2 5
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 7
5 8
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 9 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 10
8 dbname = "lazy-index-population.html" 11 dbname = "lazy-index-population.html"
9 indexedDB.deleteDatabase(dbname) 12 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 13 indexedDB.open(dbname)
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 PASS ++state is 1 76 PASS ++state is 1
74 request2 received error event 77 request2 received error event
75 PASS ++state is 2 78 PASS ++state is 2
76 transaction aborted 79 transaction aborted
77 PASS ++state is 3 80 PASS ++state is 3
78 PASS trans.error.name is 'ConstraintError' 81 PASS trans.error.name is 'ConstraintError'
79 PASS successfullyParsed is true 82 PASS successfullyParsed is true
80 83
81 TEST COMPLETE 84 TEST COMPLETE
82 85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698