Re: [Bug 11406] New: [IndexedDB] IDBDatabase.transaction needs to specify exception for invalid mode parameter

Jeremy Orlow:
> > Similar with the direction for openCursor or anything that takes in
> > an enum. I don't see any existing error that's a particularly good
> > match for these. Maybe I should add an ENUM_ERR or something?

Jonas Sicking:
> Would be great if WebIDL could help out here. Cameron, I seem to
> recall there being discussions about this, but I could be making that
> up.

For specifying which DOMException code will be raised?  There’s
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10623 but I haven’t done
anything with that yet.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 10 December 2010 21:57:52 UTC