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

Side by Side Diff: LayoutTests/storage/indexeddb/transaction-abort-expected.txt

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include error name Created 6 years, 8 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: The transaction was aborted, so the request cannot be ful filled.
2 CONSOLE ERROR: line 1: The transaction was aborted, so the request cannot be ful filled.
1 Test transaction aborts send the proper onabort messages.. 3 Test transaction aborts send the proper onabort messages..
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 = "transaction-abort.html" 10 dbname = "transaction-abort.html"
9 indexedDB.deleteDatabase(dbname) 11 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 12 indexedDB.open(dbname)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 Exception message: Failed to execute 'add' on 'IDBObjectStore': The transaction has finished. 44 Exception message: Failed to execute 'add' on 'IDBObjectStore': The transaction has finished.
43 Expecting exception from trans.abort() 45 Expecting exception from trans.abort()
44 PASS Exception was thrown. 46 PASS Exception was thrown.
45 PASS code is DOMException.INVALID_STATE_ERR 47 PASS code is DOMException.INVALID_STATE_ERR
46 PASS ename is 'InvalidStateError' 48 PASS ename is 'InvalidStateError'
47 Exception message: Failed to execute 'abort' on 'IDBTransaction': The transactio n has finished. 49 Exception message: Failed to execute 'abort' on 'IDBTransaction': The transactio n has finished.
48 PASS successfullyParsed is true 50 PASS successfullyParsed is true
49 51
50 TEST COMPLETE 52 TEST COMPLETE
51 53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698