- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Wed, 08 Feb 2012 16:13:59 +0100
- To: public-device-apis@w3.org
Hi, The LC WD of the vibration API uses exceptions for cases where the requested vibration is too long. http://www.w3.org/TR/2012/WD-vibration-20120202/ But WebIDL has removed support for raising exceptions in its syntax. In prose, an exception of a particular type can be thrown by using wording like the following: Throw a DOMException of type HierarchyRequestError with message “Cannot append that Node here”. http://dev.w3.org/2006/webapi/WebIDL/#idl-exceptions Also, there should be a normative reference to WebIDL. Dom
Received on Wednesday, 8 February 2012 15:17:58 UTC