[ https://issues.apache.org/jira/browse/CB-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shingo Toda updated CB-4611: ---------------------------- Description: I am looking into mobile-spec. [This document|http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactField] says {quote} *Android Quirks* pref: Not supported, returning false. {quote} But spec "contacts.spec.11 should be able to define a ContactField object" in contacts.tests.js(239) is passed, which pref is set to true. See the following. {code title:www/autotest/tests/contacts.tests.js|borderStyle=solid} it("contacts.spec.11 should be able to define a ContactField object", function() { var contactField = new ContactField("home", "8005551212", true); expect(contactField).toBeDefined(); expect(contactField.type).toBe("home"); expect(contactField.value).toBe("8005551212"); expect(contactField.pref).toBe(true); }); {code} Is pref property not really supported? was: I am looking into mobile-spec. [This document|http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactField] says {quote} *Android Quirks* pref: Not supported, returning false. {quote} But spec "contacts.spec.11 should be able to define a ContactField object" in contacts.tests.js(239) is passed, which pref is set to true. See the following. {code title:www/autotest/tests/contacts.tests.js=solid} it("contacts.spec.11 should be able to define a ContactField object", function() { var contactField = new ContactField("home", "8005551212", true); expect(contactField).toBeDefined(); expect(contactField.type).toBe("home"); expect(contactField.value).toBe("8005551212"); expect(contactField.pref).toBe(true); }); {code} Is pref property not really supported? > ContactField pref property returns true in Android > -------------------------------------------------- > > Key: CB-4611 > URL: https://issues.apache.org/jira/browse/CB-4611 > Project: Apache Cordova > Issue Type: Bug > Components: Docs > Affects Versions: 2.9.0 > Environment: Android 4.2 emulator > Reporter: Shingo Toda > Assignee: Michael Brooks > Priority: Minor > Labels: documentation > > I am looking into mobile-spec. [This > document|http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactField] > says > {quote} > *Android Quirks* > pref: Not supported, returning false. > {quote} > But spec "contacts.spec.11 should be able to define a ContactField object" in > contacts.tests.js(239) is passed, which pref is set to true. See the > following. > {code title:www/autotest/tests/contacts.tests.js|borderStyle=solid} > it("contacts.spec.11 should be able to define a ContactField object", > function() { > var contactField = new ContactField("home", "8005551212", true); > expect(contactField).toBeDefined(); > expect(contactField.type).toBe("home"); > expect(contactField.value).toBe("8005551212"); > expect(contactField.pref).toBe(true); > }); > {code} > Is pref property not really supported? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira