[Bug 9882] 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

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 UTC