mozilla-b2g/gaia — pull request #17396 by lgarner (2014-03-20 19:08:47+00:00)
Title: Bug_974725: [B2G][NFC] Support different vcard mime types for Contacts

In the bugzilla entry, there was a choice to have NFC manager resolve legacy mime-type issues with vcards, or have the app try to do so (and repeatedly across all interested apps). NFC manager can't generically figure it out for the app, thus the version in the data in the vcard data itself is the only true way find out if the apps supports the vcard.

This bug then, just treats text/vcard, text/x-vcard, text/x-Vcard the same. If it fails, the user can just try again with another contacts app with better vcard support.

Some additional cleanup in the unit tests for stray error messages on mock objects.