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

Side by Side Diff: LayoutTests/storage/indexeddb/version-change-abort-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 52: Uncaught Error: This should *NOT* be caught! 1 CONSOLE ERROR: line 51: Uncaught Error: This should *NOT* be caught!
2 Ensure that aborted VERSION_CHANGE transactions are completely rolled back 2 Ensure that aborted VERSION_CHANGE transactions are completely rolled back
3 3
4 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 ".
5 5
6 6
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
8 8
9 dbname = "version-change-abort.html" 9 dbname = "version-change-abort.html"
10 indexedDB.deleteDatabase(dbname) 10 indexedDB.deleteDatabase(dbname)
11 indexedDB.open(dbname) 11 indexedDB.open(dbname)
(...skipping 12 matching lines...) Expand all
24 24
25 setVersion2Abort() callback 25 setVersion2Abort() callback
26 request = indexedDB.open(dbname) 26 request = indexedDB.open(dbname)
27 PASS db.version is 1 27 PASS db.version is 1
28 PASS db.objectStoreNames.contains('store1') is true 28 PASS db.objectStoreNames.contains('store1') is true
29 PASS db.objectStoreNames.contains('store2') is false 29 PASS db.objectStoreNames.contains('store2') is false
30 PASS successfullyParsed is true 30 PASS successfullyParsed is true
31 31
32 TEST COMPLETE 32 TEST COMPLETE
33 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698