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

Side by Side Diff: LayoutTests/storage/indexeddb/request-continue-abort-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: The transaction was aborted, so the request c annot be fulfilled.
1 Regression test for IDBRequest issue calling continue on a cursor then aborting. 2 Regression test for IDBRequest issue calling continue on a cursor then aborting.
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 = "request-continue-abort.html" 9 dbname = "request-continue-abort.html"
9 indexedDB.deleteDatabase(dbname) 10 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 11 indexedDB.open(dbname)
(...skipping 14 matching lines...) Expand all
25 26
26 'error' event fired at request. 27 'error' event fired at request.
27 PASS ++state is 2 28 PASS ++state is 2
28 29
29 'abort' event fired at transaction. 30 'abort' event fired at transaction.
30 PASS ++state is 3 31 PASS ++state is 3
31 PASS successfullyParsed is true 32 PASS successfullyParsed is true
32 33
33 TEST COMPLETE 34 TEST COMPLETE
34 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698