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

Side by Side Diff: LayoutTests/storage/indexeddb/index-get-key-argument-required-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 index .get() required argument 1 Test IndexedDB index .get() required argument
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-get-key-argument-required.html" 6 dbname = "index-get-key-argument-required.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('foo', { keyPath: 'id', autoIncrement: true } ); 9 objectStore = db.createObjectStore('foo', { keyPath: 'id', autoIncrement: true } );
12 index = objectStore.createIndex('first', 'first'); 10 index = objectStore.createIndex('first', 'first');
13 PASS index.get(); threw exception TypeError: Failed to execute 'get' on 'IDBInde x': 1 argument required, but only 0 present.. 11 PASS index.get(); threw exception TypeError: Failed to execute 'get' on 'IDBInde x': 1 argument required, but only 0 present..
14 PASS index.getKey(); threw exception TypeError: Failed to execute 'getKey' on 'I DBIndex': 1 argument required, but only 0 present.. 12 PASS index.getKey(); threw exception TypeError: Failed to execute 'getKey' on 'I DBIndex': 1 argument required, but only 0 present..
15 PASS successfullyParsed is true 13 PASS successfullyParsed is true
16 14
17 TEST COMPLETE 15 TEST COMPLETE
18 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698