hugg95 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.db.Index.getAllKeys() returns array of undefined values #619

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Create indexedDb database, create objectStore, create index
2. Put some indexable objects into the objectStore
3. call getAllKeys() on the index

What is the expected output? What do you see instead?
A deferred array of keys. A deferred array of undefineds

What version of the product are you using? On what operating system?
Chrome 31, OSX

Please provide any additional information below.
The problem is when you call openKeyCursor(), cursor object does not have 
property "value", "primaryKey" should be used.
db_test does not fail, because only length of array is tested, not values.

Original issue reported on code.google.com by michal.s...@gmail.com on 5 Jan 2014 at 1:34