- From: Cameron McCormack <cam@mcc.id.au>
- Date: Thu, 17 Nov 2011 09:44:23 +1300
- To: Justin Lebar <jlebar@mozilla.com>
- CC: Anssi Kostiainen <anssi.kostiainen@nokia.com>, ext Robin Berjon <robin@berjon.com>, ext Jonas Sicking <jonas@sicking.cc>, public-device-status@w3.org, "public-device-apis@w3.org WG" <public-device-apis@w3.org>
On 17/11/11 4:55 AM, Justin Lebar wrote: > Just to check, the types |unsigned long| and |unsigned long[]| will > catch any numeric type, right? So we don't have to worry if someone > computes a vibration time in JS and passes in 100.0003? That's how I > read the WebIDL spec, for what little that's worth. Yes, vibrate(100.003) will be treated as vibrate(100) and vibrate([100.003]) as vibrate([100]).
Received on Wednesday, 16 November 2011 20:45:10 UTC