W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Jun 2010 17:22:42 +0000
To: public-webapps@w3.org
Message-ID: <bug-9882-2927@http.www.w3.org/Bugs/Public/>
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 GMT

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