- From: Andreas Gal <gal@mozilla.com>
- Date: Wed, 24 Aug 2011 23:18:08 -0700
- To: public-device-apis@w3.org
[NoInterfaceObject] interface ContactField { attribute DOMString type; attribute DOMString? value; attribute boolean pref; }; Several classes have a pref attribute that is defined as follows: pref of type boolean This attribute indicates whether this instance of the ContactField is the preferred, or primary, value for the contact property this ContactField is representing in the Contact interface. By default, the value is false. I don't think the spec explains what happens if multiple entries have that boolean set, or none. Also, I wonder if the simple order of appearance might be a sufficient way to specify preference (maybe users want a different display order and preference order?). Andreas
Received on Thursday, 25 August 2011 06:18:37 UTC