Closed Bug 899175 Opened 11 years ago Closed 6 years ago

[contacts] coercing ContactField[] to String results in null

Categories

(Core Graveyard :: DOM: Contacts, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bkelly, Unassigned)

References

Details

As discussed on the lists here:

  https://groups.google.com/forum/#!topic/mozilla.dev.b2g/Ew9qPHP2FBo

It appears that coercing a ContactField[] to a String will result in null.  For example:

  alert(contact.email);

Will display null, but this displays the address:

  alert(contact.email[0].value);

Since a value is present it would be nice if this coerced at least to [Object object], if not something more human readable.

Reuben indicates that this may be fixed as a side-effect of converting to WebIDL in bug 850430.
Component: DOM: Device Interfaces → DOM: Contacts
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
DOM: Contacts isn't used anymore. 
Closing all remaining bugs.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.