[Bug 16465] [IndexedDB] Error handling of db.transaction('mystore', 'some invalid value here') should be defined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16465

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #1 from Jonas Sicking <jonas@sicking.cc> 2012-03-21 19:36:15 UTC ---
(In reply to comment #0)
> Right now it isn't defined what happens if you don't input "readonly" or
> "readwrite".

If you look at the source code of the spec this is actually defined to throw a
TypeError. However somewhere along the way it appears that ReSpec has changed
and is no longer displaying the "exceptions". This means that there are whole
swaths of the spec that is now ambiguous. We need to fix this asap.

I'll start a thread on the list.

> "versionchange" also exist, -- but it's not valid for transaction(), but it
> needs to be defined in some way.

Indeed. This needs to be fixed.

> Also, I guess it'd be interesting to get the same for openCursor etc. as well.

Same thing here. This is actually defined in the spec source, but ReSpec isn't
showing it any more.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 21 March 2012 19:36:19 UTC