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

Side by Side Diff: LayoutTests/storage/indexeddb/intversion-abort-in-initial-upgradeneeded-expected.txt

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 Test that an abort in the initial upgradeneeded sets version back to 0 1 Test that an abort in the initial upgradeneeded sets version back to 0
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7
8 dbname = "intversion-abort-in-initial-upgradeneeded.html" 6 dbname = "intversion-abort-in-initial-upgradeneeded.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname, 2) 8 indexedDB.open(dbname, 2)
11 request.onupgradeneeded = upgradeNeeded 9 request.onupgradeneeded = upgradeNeeded
12 request.onerror = onError 10 request.onerror = onError
13 11
14 upgradeNeeded(): 12 upgradeNeeded():
15 PASS db.version is 2 13 PASS db.version is 2
16 transaction.abort() 14 transaction.abort()
17 15
18 onAbort(): 16 onAbort():
19 PASS event.target.db.version is 0 17 PASS event.target.db.version is 0
20 PASS request.transaction is non-null. 18 PASS request.transaction is non-null.
21 19
22 onError(): 20 onError():
23 PASS request is event.target 21 PASS request is event.target
24 PASS event.target.result is undefined. 22 PASS event.target.result is undefined.
25 PASS event.target.error is non-null. 23 PASS event.target.error is non-null.
26 PASS event.target.error.name is "AbortError" 24 PASS event.target.error.name is "AbortError"
27 PASS request.transaction is null 25 PASS request.transaction is null
28 PASS successfullyParsed is true 26 PASS successfullyParsed is true
29 27
30 TEST COMPLETE 28 TEST COMPLETE
31 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698