[Bug 9882] New: Behavior when attempting to write data to an objectStore opened as read only unspecified

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9882

           Summary: Behavior when attempting to write data to an
                    objectStore opened as read only unspecified
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: nikunj.mehta@oracle.com
        ReportedBy: jorlow@chromium.org
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


When you open an objectStore with a read only mode, any subsequent write
operation should probably result in an error.  I don't see anywhere in the spec
that specifically says this or mentions what error code should be used. 
Currently in the spec, writing with the noOverwrite flag set causes a
CONSTRAINT_ERR, so I'm guessing that's the best one to go with for this
condition as well?

-- 
Configure bugmail: http://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 Tuesday, 8 June 2010 17:22:44 UTC