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

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: Update testharness-based test to allow onerror Created 6 years, 6 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 '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: AbortError: Version change transaction was aborted in upg radeneeded event handler.
4 CONSOLE ERROR: line 1: AbortError: Version change transaction was aborted in upg radeneeded event handler.
5 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. 6 Verify edge cases that lazy index population in an IndexedDB implementation migh t reveal.
2 7
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 9
5 10
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 11 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 12
8 dbname = "lazy-index-population.html" 13 dbname = "lazy-index-population.html"
9 indexedDB.deleteDatabase(dbname) 14 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 15 indexedDB.open(dbname)
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 PASS ++state is 1 78 PASS ++state is 1
74 request2 received error event 79 request2 received error event
75 PASS ++state is 2 80 PASS ++state is 2
76 transaction aborted 81 transaction aborted
77 PASS ++state is 3 82 PASS ++state is 3
78 PASS trans.error.name is 'ConstraintError' 83 PASS trans.error.name is 'ConstraintError'
79 PASS successfullyParsed is true 84 PASS successfullyParsed is true
80 85
81 TEST COMPLETE 86 TEST COMPLETE
82 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698