W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 11 Dec 2010 11:19:50 +1300
To: Jonas Sicking <jonas@sicking.cc>
Cc: Jeremy Orlow <jorlow@chromium.org>, public-webapps@w3.org
Message-ID: <20101210221950.GC32113@wok.mcc.id.au>
Jonas Sicking:
> Specifying an exception to throw for functions that take enums if a
> invalid value is passed to the function.

Ah, I misunderstood.  Would you want a standard exception (like
TypeError, or one of the DOMExceptions from DOM Core) or be able to
have the IDL specify what exception is thrown?

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 10 December 2010 22:20:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:42 GMT