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

Re: Bug in Contacts Web IDL (and Calendar)

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 30 Jun 2011 11:03:09 +1200
To: Robin Berjon <robin@berjon.com>
Cc: Dominique Hazael-Massieux <dom@w3.org>, public-device-apis@w3.org
Message-ID: <20110629230309.GB31240@wok.mcc.id.au>
Dominique Hazael-Massieux:
> > 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.

Robin Berjon:
> 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 :).

I think we really should be reserving callers for specifying legacy APIs
and not use it at all in any new ones.

Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 29 June 2011 23:03:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:29 UTC