W3C home > Mailing lists > Public > public-device-apis@w3.org > February 2012

[vibration] Exceptions no longer exist in WebIDL

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 08 Feb 2012 16:13:59 +0100
Message-ID: <1328714039.17385.22.camel@altostratustier>
To: public-device-apis@w3.org

The LC WD of the vibration API uses exceptions for cases where the
requested vibration is too long.

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”.

Also, there should be a normative reference to WebIDL.

Received on Wednesday, 8 February 2012 15:17:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:52 UTC