W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [indexeddb] error value of open request after aborting VERSION_CHANGE transaction inside an onupgradeneeded handler

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 3 Dec 2011 21:28:20 -0800
Message-ID: <CA+c2ei-9Sj1yoV=TZggKTZjwfQbW13TPssfYqy0Z8ZX93c+weA@mail.gmail.com>
To: Israel Hilerio <israelh@microsoft.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>, Victor Ngo <vicngo@microsoft.com>
On Thu, Dec 1, 2011 at 7:16 PM, Israel Hilerio <israelh@microsoft.com> wrote:
> On Tuesday, November 22, 2011 5:30 PM, Israel Hilerio wrote:
>>Subject: [indexeddb] error value of open request after aborting VERSION_CHANGE transaction inside an onupgradeneeded handler
>>
>>What should be the value of the error attribute on the open request after a VERSION_CHANGE transaction is aborted?  We're thinking it should be AbortError independent of whether the >transaction is aborted programmatically or due to a system failure.
>>
>>Do you guys agree?
>>
>>Israel
>
> Should I take the silence to mean we're in agreement :-)

Either that, or set it to whatever error caused the transaction to be
aborted. So the request error would be set to the same as the
transaction error.

/ Jonas
Received on Sunday, 4 December 2011 05:29:17 GMT

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