RE: [indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-26 Thread Israel Hilerio
It sounds like we're all in sync with this new behavior. These are the various ways in which I see a developer getting a handle to the database object in order to call transaction(): 1. Keeping a global reference around after one of the open method handlers is executed (i.e. onupgradeneeded or

Re: [indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-26 Thread Joshua Bell
On Wed, Jan 25, 2012 at 11:32 PM, Jonas Sicking wrote: > On Wed, Jan 25, 2012 at 5:23 PM, Israel Hilerio > wrote: > > On Wednesday, January 25, 2012 4:26 PM, Jonas Sicking wrote: > >> On Wed, Jan 25, 2012 at 3:40 PM, Israel Hilerio > >> wrote: > >> > Should we allow the creation of READ_ONLY or

Re: [indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-25 Thread Jonas Sicking
On Wed, Jan 25, 2012 at 5:23 PM, Israel Hilerio wrote: > On Wednesday, January 25, 2012 4:26 PM, Jonas Sicking wrote: >> On Wed, Jan 25, 2012 at 3:40 PM, Israel Hilerio >> wrote: >> > Should we allow the creation of READ_ONLY or READ_WRITE transactions >> inside the oncomplete event handler of a

RE: [indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-25 Thread Israel Hilerio
On Wednesday, January 25, 2012 4:26 PM, Jonas Sicking wrote: > On Wed, Jan 25, 2012 at 3:40 PM, Israel Hilerio > wrote: > > Should we allow the creation of READ_ONLY or READ_WRITE transactions > inside the oncomplete event handler of a VERSION_CHANGE transaction? > > IE allows this behavior today.

Re: [indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-25 Thread Jonas Sicking
On Wed, Jan 25, 2012 at 3:40 PM, Israel Hilerio wrote: > Should we allow the creation of READ_ONLY or READ_WRITE transactions inside > the oncomplete event handler of a VERSION_CHANGE transaction? > IE allows this behavior today.  However, we noticed that FF's nightly doesn't. Yeah, it'd make se

[indexeddb] Creating transactions inside the oncomplete handler of a VERSION_CHANGE transaction

2012-01-25 Thread Israel Hilerio
Should we allow the creation of READ_ONLY or READ_WRITE transactions inside the oncomplete event handler of a VERSION_CHANGE transaction? IE allows this behavior today. However, we noticed that FF's nightly doesn't. In either case, we should define this behavior in the spec. Israel