W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2011

Re: Bug in Contacts Web IDL (and Calendar)

From: Robin Berjon <robin@berjon.com>
Date: Wed, 29 Jun 2011 16:08:31 +0200
Cc: public-device-apis@w3.org
Message-Id: <8E8FD703-CFFC-4828-A446-0F153C8EFB32@berjon.com>
To: Dominique Hazael-Massieux <dom@w3.org>
On Jun 29, 2011, at 14:12 , Dominique Hazael-Massieux wrote:
> The Contacts API currently defines it find() method as special caller
> method; I'm not sure why it is so, but that's not compatible with Web
> IDL: the find() method has optional arguments, and Web IDL forbids
> special operations with optional arguments.

According to comments in the examples it is so that navigator.contacts(...) can work. Personally, I'm not a fan and won't mind if that feature goes (besides, ReSpec doesn't like it :).

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Wednesday, 29 June 2011 14:08:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:21 GMT