W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 27 Jan 2011 20:27:47 -0800
Message-ID: <AANLkTi=MYDQF2-UtBoCOsAYV3eBu1BHOXcQmDEKRvGJX@mail.gmail.com>
To: ben turner <bent@mozilla.com>
Cc: Jeremy Orlow <jorlow@chromium.org>, Axel Rauschmayer <axel@rauschma.de>, public-webapps@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT