[IndexedDB] Does Abort this algorithm mean Abort transaction?

2013-05-15 Thread Kyaw Tun
When ConstraintError occur in 'steps for storing a record into an object store', it said 'Abort this algorithm without taking any further steps.' I assume the transaction can be still be used, except that this request fail. However both Chrome and Firefox implementation abort transaction. Is that

Re: [IndexedDB] Does Abort this algorithm mean Abort transaction?

2013-05-15 Thread Jonas Sicking
On Wed, May 15, 2013 at 7:45 PM, Kyaw Tun kyaw...@yathit.com wrote: When ConstraintError occur in 'steps for storing a record into an object store', it said 'Abort this algorithm without taking any further steps.' I assume the transaction can be still be used, except that this request fail.

Re: [IndexedDB] Does Abort this algorithm mean Abort transaction?

2013-05-15 Thread Kyaw Tun
Oh yes, it works great. What a nice twist! I learned IndexedDB for one year (literally), still not get it. On Thu, May 16, 2013 at 12:03 PM, Jonas Sicking jo...@sicking.cc wrote: On Wed, May 15, 2013 at 7:45 PM, Kyaw Tun kyaw...@yathit.com wrote: When ConstraintError occur in 'steps for