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

Side by Side Diff: LayoutTests/storage/indexeddb/lazy-index-population-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 Verify edge cases that lazy index population in an IndexedDB implementation migh t reveal. 1 Verify edge cases that lazy index population in an IndexedDB implementation migh t reveal.
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 = "lazy-index-population.html" 6 dbname = "lazy-index-population.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 Deleted all object stores. 9 Deleted all object stores.
12 store = connection.createObjectStore('store') 10 store = connection.createObjectStore('store')
13 store.createIndex('index1', 'name', {unique: true}) 11 store.createIndex('index1', 'name', {unique: true})
14 Verify that uniqueness constraints are enforced with a pre-existing index: 12 Verify that uniqueness constraints are enforced with a pre-existing index:
15 trans = connection.transaction('store', 'readwrite') 13 trans = connection.transaction('store', 'readwrite')
16 store = trans.objectStore('store') 14 store = trans.objectStore('store')
17 request1 = store.put({name: 'bob'}, 1) 15 request1 = store.put({name: 'bob'}, 1)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 PASS ++state is 1 71 PASS ++state is 1
74 request2 received error event 72 request2 received error event
75 PASS ++state is 2 73 PASS ++state is 2
76 transaction aborted 74 transaction aborted
77 PASS ++state is 3 75 PASS ++state is 3
78 PASS trans.error.name is 'ConstraintError' 76 PASS trans.error.name is 'ConstraintError'
79 PASS successfullyParsed is true 77 PASS successfullyParsed is true
80 78
81 TEST COMPLETE 79 TEST COMPLETE
82 80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698