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/keypath-edges-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 keyPath edge cases 1 Test IndexedDB keyPath edge cases
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 = "keypath-edges.html" 6 dbname = "keypath-edges.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('store-with-path', {keyPath: 'foo'}) 9 db.createObjectStore('store-with-path', {keyPath: 'foo'})
12 db.createObjectStore('store-with-path-and-generator', {keyPath: 'foo', autoIncre ment: true}) 10 db.createObjectStore('store-with-path-and-generator', {keyPath: 'foo', autoIncre ment: true})
13 11
14 testKeyPaths(): 12 testKeyPaths():
15 transaction = db.transaction(['store-with-path'], 'readwrite') 13 transaction = db.transaction(['store-with-path'], 'readwrite')
16 store = transaction.objectStore('store-with-path') 14 store = transaction.objectStore('store-with-path')
17 15
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 PASS ename is 'DataError' 67 PASS ename is 'DataError'
70 Exception message: Failed to execute 'put' on 'IDBObjectStore': Evaluating the o bject store's key path yielded a value that is not a valid key. 68 Exception message: Failed to execute 'put' on 'IDBObjectStore': Evaluating the o bject store's key path yielded a value that is not a valid key.
71 69
72 Key path resolves to a value that is valid key; should yield 'string' key, shoul d succeed 70 Key path resolves to a value that is valid key; should yield 'string' key, shoul d succeed
73 store.put({foo: 'zoo'}) 71 store.put({foo: 'zoo'})
74 PASS store.put succeeded 72 PASS store.put succeeded
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