- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Tue, 16 Apr 2013 09:57:43 +0100
- To: Justin Lebar <justin.lebar@gmail.com>
- Cc: "Kostiainen, Anssi" <anssi.kostiainen@intel.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
On Tue, Apr 16, 2013 at 9:14 AM, Justin Lebar <justin.lebar@gmail.com> wrote: > I don't think we want to return false when the pattern is 0, the empty > list, or if the device doesn't support vibration. At the very least, > this exposes to pages whether the device supports vibration, which I > thought was something we wanted to avoid. But also, vibrate([]) > "succeeds" if it gets to step (9), so it should return true, I think. It seems better to expose that via the API than have developers rely on UA-sniffing. -- http://annevankesteren.nl/
Received on Tuesday, 16 April 2013 08:58:10 UTC