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

Side by Side Diff: LayoutTests/storage/indexeddb/error-causes-abort-by-default-expected.txt

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove FIXMEs 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: Key already exists in the object store.
2 CONSOLE ERROR: line 1: ConstraintError: Key already exists in the object store.
1 Verify that a transaction with an error aborts unless preventDefault() is called . 3 Verify that a transaction with an error aborts unless preventDefault() is called .
2 4
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 6
5 7
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB; 8 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 9
8 dbname = "error-causes-abort-by-default.html" 10 dbname = "error-causes-abort-by-default.html"
9 indexedDB.deleteDatabase(dbname) 11 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 12 indexedDB.open(dbname)
(...skipping 24 matching lines...) Expand all
35 trans.onabort = transactionAborted2 37 trans.onabort = transactionAborted2
36 trans.oncomplete = unexpectedCompleteCallback 38 trans.oncomplete = unexpectedCompleteCallback
37 store = trans.objectStore('storeName') 39 store = trans.objectStore('storeName')
38 store.add({x: 'value', y: 'zzz'}, 'key') 40 store.add({x: 'value', y: 'zzz'}, 'key')
39 Omitting an onerror handler 41 Omitting an onerror handler
40 PASS Transaction aborted 42 PASS Transaction aborted
41 PASS successfullyParsed is true 43 PASS successfullyParsed is true
42 44
43 TEST COMPLETE 45 TEST COMPLETE
44 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698