Closed Bug 896420 Opened 12 years ago Closed 11 years ago

Unable to set contact picture using ContactManager API

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: postal2600, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36 Steps to reproduce: To reproduce this, I've used the Firefox OS Simulator V4.0. Extracted JPEG binary from a base64 encoded string and with it created a Blob that is used to set the picture for a mozContact object. In the attached zip file there is a working application illustrating the bug. In the example I also embed the base64 string into an img tag to illustrate that it contains a valid JPEG. Actual results: The picture for the contact is set but is blank Expected results: The contact should have the desired picture
Component: General → Gaia::Contacts
mozContacts api doesn't add any restriction. Once you get the permission to access contacts api, you can store blobs for pictures here.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: