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

Re: [vibration] Exceptions no longer exist in WebIDL ( LC-2602)

From: <frederick.hirsch@nokia.com>
Date: Mon, 05 Mar 2012 19:04:59 +0000
To: Dominique Hazael-Massieux <dom@w3.org>
Cc: public-device-apis@w3.org
Message-Id: <E1S4dDP-0006MK-He@jessica.w3.org>

 Dear Dominique Hazael-Massieux ,

The Device APIs Working Group has reviewed the comments you sent [1] on
the Last Call Working Draft [2] of the Vibration API published on 2 Feb
2012. Thank you for having taken the time to review the document and to
send us comments!

The Working Group's response to your comment is included below.

Please review it carefully and let us know by email at
public-device-apis@w3.org if you agree with it or not before 12 March 2012.
In case of disagreement, you are requested to provide a specific solution
for or a path to a consensus with the Working Group. If such a consensus
cannot be achieved, you will be given the opportunity to raise a formal
objection which will then be reviewed by the Director during the transition
of this document to the next stage in the W3C Recommendation Track.

Thanks,

For the Device APIs Working Group,
Dave Raggett
Dominique Hazaël-Massieux
W3C Staff Contacts

 1. http://www.w3.org/mid/1328714039.17385.22.camel@altostratustier
 2. http://www.w3.org/TR/2012/WD-vibration-20120202/


=====

Your comment on 3. Vibration Interface Navigator implements Vibration;
A...:
> 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


Working Group Resolution (LC-2602):
ReSpec update:
http://lists.w3.org/Archives/Public/public-device-apis/2012Feb/0020.html 

Added text: "the user agent MAY throw a NotSupportedError exception
[DOM4]"

and

"added a normative reference by adding the usual Web IDL boilerplate to
the Conformance section"
http://lists.w3.org/Archives/Public/public-device-apis/2012Feb/0022.html

----
Received on Monday, 5 March 2012 19:05:05 UTC

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