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

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 08 Nov 2010 18:15:18 +0000
To: public-webapps@w3.org
Message-Id: <E1PFWFS-0000Rl-Fa@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9882

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jonas Sicking <jonas@sicking.cc> 2010-11-08 18:15:18 UTC ---
I introduced a specific READ_ONLY_ERR to cover this. It seems worth having a
separate error rather than throwing NOT_ALLOWED_ERR since it's a very easy
mistake to make to forget to specify the optional 'mode' parameter when
creating a transaction, and so I think it's worth making this error easy to
diagnose.

http://dvcs.w3.org/hg/IndexedDB/rev/0901d0b89904

-- 
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 Monday, 8 November 2010 18:15:20 GMT

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