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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 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
OLDNEW
1 Test that when db.close is called in upgradeneeded, the db is cleaned up on refr esh. 1 Test that when db.close is called in upgradeneeded, the db is cleaned up on refr esh.
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "intversion-close-in-upgradeneeded.html" 8 dbname = "intversion-close-in-upgradeneeded.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 request = indexedDB.open(dbname, 7) 10 request = indexedDB.open(dbname, 7)
(...skipping 14 matching lines...) Expand all
25 PASS event.target.error.name is 'AbortError' 25 PASS event.target.error.name is 'AbortError'
26 PASS event.result is undefined 26 PASS event.result is undefined
27 27
28 Verify that the old connection is unchanged and was closed: 28 Verify that the old connection is unchanged and was closed:
29 PASS db is non-null. 29 PASS db is non-null.
30 PASS db.version is 7 30 PASS db.version is 7
31 Expecting exception from db.transaction('os') 31 Expecting exception from db.transaction('os')
32 PASS Exception was thrown. 32 PASS Exception was thrown.
33 PASS code is DOMException.INVALID_STATE_ERR 33 PASS code is DOMException.INVALID_STATE_ERR
34 PASS ename is 'InvalidStateError' 34 PASS ename is 'InvalidStateError'
35 Exception message: The database connection is closing. 35 Exception message: Failed to execute 'transaction' on 'IDBDatabase': The databas e connection is closing.
36 PASS successfullyParsed is true 36 PASS successfullyParsed is true
37 37
38 TEST COMPLETE 38 TEST COMPLETE
39 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698