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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-basics-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: AbortError: Version change transaction was aborted in upg radeneeded event handler.
1 Test the basics of IndexedDB's IDBObjectStore. 2 Test the basics of IndexedDB's IDBObjectStore.
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 = "objectstore-basics.html" 9 dbname = "objectstore-basics.html"
9 indexedDB.deleteDatabase(dbname) 10 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 11 indexedDB.open(dbname)
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 The key parameter was provided but does not contain a valid key. 229 The key parameter was provided but does not contain a valid key.
229 Expecting exception from storeWithOutOfLineKeys.add({}, null) 230 Expecting exception from storeWithOutOfLineKeys.add({}, null)
230 PASS Exception was thrown. 231 PASS Exception was thrown.
231 PASS code is 0 232 PASS code is 0
232 PASS ename is 'DataError' 233 PASS ename is 'DataError'
233 Exception message: Failed to execute 'add' on 'IDBObjectStore': The parameter is not a valid key. 234 Exception message: Failed to execute 'add' on 'IDBObjectStore': The parameter is not a valid key.
234 PASS successfullyParsed is true 235 PASS successfullyParsed is true
235 236
236 TEST COMPLETE 237 TEST COMPLETE
237 238
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698