[Bug 17681] [IndexedDB] Operations that raise multiple exceptions types should define order

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

--- Comment #3 from Joshua Bell <jsbell@chromium.org> 2012-08-03 01:03:59 UTC ---
(In reply to comment #2)
> TypeError exceptions should be considered WebIDL type conversion errors.
> Therefore, we should always assume they are fired first before DOM exceptions. 

Agreed - that matches the Chromium/WebKit implementation as well. Otherwise,
we're flexible on ordering, including...

> The only possible caveat is where we return TypeError for passing zero on the
> IDBCursor.advance method.  For this method, we can specify that TypeError
> should be thrown first.

If it helps I can document Chromium's current exception priority, but as I said
we're flexible.

-- 
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 Friday, 3 August 2012 01:04:01 UTC