Re: [Bug 11348] New: [IndexedDB] Overhaul of the event model

On Thu, Jan 27, 2011 at 8:20 PM, ben turner <bent@mozilla.com> wrote:
>>> Lastly, let's say you're doing cursor.continue() on an index cursor, how can
>>> you get a handle to the objectStore?  I believe you can't.
>
> We gave IDBCursor a source property too, that either points to the
> objectStore or index depending on who called openCursor.

Ah, this is a better solution I agree. And makes sense to not return a
request from continue() as to avoid people thinking that they have to
re-register a listener.

/ Jonas

Received on Friday, 28 January 2011 04:28:40 UTC