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

[Bug 15721] New: [IndexedDB] Specify when calling transaction() should throw due to being called "too early"

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Jan 2012 01:00:40 +0000
To: public-webapps@w3.org
Message-ID: <bug-15721-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15721

           Summary: [IndexedDB] Specify when calling transaction() should
                    throw due to being called "too early"
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: jonas@sicking.cc
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


Specifically Firefox appears to throw before the onsuccess event is fired on
the IDBRequest returned from .open. IE however allows it to be called as soon
as the oncomplete event is fired on the VERSION_CHANGE transaction.

The IE behavior seems like the better one to me.

Currently transaction() doesn't appear to throw due to being called "too early"
in the spec at all.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 26 January 2012 01:00:41 GMT

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