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

Side by Side Diff: LayoutTests/storage/indexeddb/invalid-keys-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 invalid keys 1 Test IndexedDB invalid keys
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 = "invalid-keys.html" 6 dbname = "invalid-keys.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('foo'); 9 db.createObjectStore('foo');
12 Expecting exception from request = objectStore.put('value', void 0) 10 Expecting exception from request = objectStore.put('value', void 0)
13 PASS Exception was thrown. 11 PASS Exception was thrown.
14 PASS code is 0 12 PASS code is 0
15 PASS ename is 'DataError' 13 PASS ename is 'DataError'
16 Exception message: Failed to execute 'put' on 'IDBObjectStore': The object store uses out-of-line keys and has no key generator and the key parameter was not pr ovided. 14 Exception message: Failed to execute 'put' on 'IDBObjectStore': The object store uses out-of-line keys and has no key generator and the key parameter was not pr ovided.
17 Expecting exception from request = objectStore.put('value', null) 15 Expecting exception from request = objectStore.put('value', null)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key. 84 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key.
87 Expecting exception from request = objectStore.put('value', self.document.body) 85 Expecting exception from request = objectStore.put('value', self.document.body)
88 PASS Exception was thrown. 86 PASS Exception was thrown.
89 PASS code is 0 87 PASS code is 0
90 PASS ename is 'DataError' 88 PASS ename is 'DataError'
91 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key. 89 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key.
92 PASS successfullyParsed is true 90 PASS successfullyParsed is true
93 91
94 TEST COMPLETE 92 TEST COMPLETE
95 93
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698