IndexedDB: MultiEntry index limited to 50 indexed values? Ouch.

2014-06-05 Thread marc fawzi
Hi Joshua, IDB folks, I was about to wrap up work on a small app that uses IDB but to my absolute surprise it looks that the number of indexed values in a MultiEntry index is limited to 50. Maybe it's not meant to contain an infinite number but 50 seems small and arbitrary. Why not 4096?

Re: IndexedDB: MultiEntry index limited to 50 indexed values? Ouch.

2014-06-05 Thread Joshua Bell
The spec has no such limitation, implicit or explicit. I put this together: http://pastebin.com/0GLPxekE In Chrome 35, at least, I had no problems indexing 100,000 tags. (It's a bit slow, though, so the pastebin code has only 10,000 by default) You mention 50 items, which just happens to be how

Re: IndexedDB: MultiEntry index limited to 50 indexed values? Ouch.

2014-06-05 Thread marc fawzi
You are correct: A case of BROKEN debugging tool (Chrome Web Console in Chrome 35) and a typo that produced no error (I had e.target.cursor instead of e.target.result) If the debugger is broken (I realize it's been fixed now) it makes it hard to tell weather the bug is in my code or in the