Re: [IndexedDB] Asynchronous inline key generation for autoIncrement'ing objectStores

On Tue, May 11, 2010 at 11:10 AM, Jeremy Orlow <jorlow@chromium.org> wrote:
> No matter what, I think we shouldn't have the semantics of the sync and
> async APIs differ in such a subtle way: if the async API returns a clone +
> the generated number as its result, then the sync API should as well (vs.
> modifying the object passed in).

Oops, I didn't respond to this. I agree that we should change the sync
API to return the key value only and let the user do with it what they
will.

-Ben

Received on Tuesday, 11 May 2010 20:13:37 UTC