- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Tue, 22 Oct 2013 14:07:58 +0200
- To: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
- Cc: "<public-device-apis@w3.org>" <public-device-apis@w3.org>
Le mardi 22 octobre 2013 à 12:23 +0100, Michael van Ouwerkerk a écrit : > Hi, would it make sense to add the [Clamp] attribute to the argument > of the vibrate method? This would be added in WebIDL. > Without it, navigator.vibrate(-1) becomes > navigator.vibrate(4294967295). > It seems clamping it to 0 would be a more elegant way of handling this > bad input. > What do you think? +1 Dom
Received on Tuesday, 22 October 2013 12:08:13 UTC