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

Side by Side Diff: LayoutTests/storage/indexeddb/database-closepending-flag-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 IndexedDB IDBDatabase internal closePending flag 1 Test IndexedDB IDBDatabase internal closePending flag
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 = "database-closepending-flag.html" 6 dbname = "database-closepending-flag.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 store = connection.createObjectStore('store') 9 store = connection.createObjectStore('store')
12 10
13 First, verify that the database connection is not closed: 11 First, verify that the database connection is not closed:
14 PASS transaction = connection.transaction('store') did not throw exception. 12 PASS transaction = connection.transaction('store') did not throw exception.
15 13
16 Database closing steps 14 Database closing steps
17 "1. Set the internal closePending flag of connection to true." 15 "1. Set the internal closePending flag of connection to true."
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 transaction = connection.transaction('store') 67 transaction = connection.transaction('store')
70 connection.close() 68 connection.close()
71 closePending is set, but active transaction will keep connection from closing 69 closePending is set, but active transaction will keep connection from closing
72 request = indexedDB.deleteDatabase(dbname) 70 request = indexedDB.deleteDatabase(dbname)
73 'blocked' event fired, letting transaction complete and connection close 71 'blocked' event fired, letting transaction complete and connection close
74 PASS versionChangeWasFired is false 72 PASS versionChangeWasFired is false
75 PASS successfullyParsed is true 73 PASS successfullyParsed is true
76 74
77 TEST COMPLETE 75 TEST COMPLETE
78 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698