- From: Jonas Sicking <jonas@sicking.cc>
- Date: Fri, 10 Dec 2010 14:05:10 -0800
- To: Jonas Sicking <jonas@sicking.cc>, Jeremy Orlow <jorlow@chromium.org>, public-webapps@w3.org
On Fri, Dec 10, 2010 at 1:57 PM, Cameron McCormack <cam@mcc.id.au> wrote: > 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. Specifying an exception to throw for functions that take enums if a invalid value is passed to the function. / Jonas
Received on Friday, 10 December 2010 22:06:03 UTC