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

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 UTC