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

Side by Side Diff: LayoutTests/storage/indexeddb/intversion-upgrades-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: VersionError: The requested version (1) is less than the existing version (2).
1 Upgrade a database, open a second connection at the same version, ensure specify ing a lower version causes an error 2 Upgrade a database, open a second connection at the same version, ensure specify ing a lower version causes an error
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 = "intversion-upgrades.html" 9 dbname = "intversion-upgrades.html"
9 indexedDB.deleteDatabase(dbname) 10 indexedDB.deleteDatabase(dbname)
10 PASS String(request) is "[object IDBOpenDBRequest]" 11 PASS String(request) is "[object IDBOpenDBRequest]"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 request = indexedDB.open(dbname) 77 request = indexedDB.open(dbname)
77 request.onsuccess = connection5Success 78 request.onsuccess = connection5Success
78 79
79 connection5Success(): 80 connection5Success():
80 db = event.target.result 81 db = event.target.result
81 PASS db.version is 4 82 PASS db.version is 4
82 PASS successfullyParsed is true 83 PASS successfullyParsed is true
83 84
84 TEST COMPLETE 85 TEST COMPLETE
85 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698