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

Side by Side Diff: LayoutTests/storage/indexeddb/index-basics-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 the basics of IndexedDB's IDBIndex. 1 Test the basics of IndexedDB's IDBIndex.
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 = "index-basics.html" 6 dbname = "index-basics.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 9
12 prepareDatabase(): 10 prepareDatabase():
13 db.createObjectStore('storeName', null) 11 db.createObjectStore('storeName', null)
14 store.createIndex('indexName', 'x') 12 store.createIndex('indexName', 'x')
15 store.createIndex('indexName2', 'y', {unique: false}) 13 store.createIndex('indexName2', 'y', {unique: false})
16 store.createIndex('zIndex', 'z', {unique: true}) 14 store.createIndex('zIndex', 'z', {unique: true})
17 PASS store.createIndex('index4', 'path', undefined) did not throw exception. 15 PASS store.createIndex('index4', 'path', undefined) did not throw exception.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 Passing an invalid key into indexObject.getKey({}). 133 Passing an invalid key into indexObject.getKey({}).
136 Expecting exception from indexObject.getKey({}) 134 Expecting exception from indexObject.getKey({})
137 PASS Exception was thrown. 135 PASS Exception was thrown.
138 PASS code is 0 136 PASS code is 0
139 PASS ename is 'DataError' 137 PASS ename is 'DataError'
140 Exception message: Failed to execute 'getKey' on 'IDBIndex': The parameter is no t a valid key. 138 Exception message: Failed to execute 'getKey' on 'IDBIndex': The parameter is no t a valid key.
141 PASS successfullyParsed is true 139 PASS successfullyParsed is true
142 140
143 TEST COMPLETE 141 TEST COMPLETE
144 142
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698