Closed
Bug 875619
Opened 11 years ago
Closed 11 years ago
[MMS] Can't retrieve attachment sent from iPhone
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
People
(Reporter: pyang, Assigned: gnarf)
References
()
Details
Attachments
(1 file, 1 obsolete file)
5.73 KB,
patch
|
steveck
:
review+
|
Details | Diff | Splinter Review |
iPhone attachment can't be retrieved and icons remain blank. REPRODUCE STEPS: 1. Use iPhone to send an image attached MMS to Fxos device. 2. Open message app, switch to target message thread. EXPECTED: 1. Attachment preview is shown correctly. ACTUAL: 1. No attachment is shown, icon is blank.
Assignee | ||
Comment 1•11 years ago
|
||
Reason: iPhone doesn't include a filename for its attachments
Assignee | ||
Updated•11 years ago
|
Attachment #753602 -
Flags: review?(felash)
Comment 2•11 years ago
|
||
Comment on attachment 753602 [details] [diff] [review] patch v1 Review of attachment 753602 [details] [diff] [review]: ----------------------------------------------------------------- ::: apps/sms/test/unit/smil_test.js @@ +108,5 @@ > SMIL.parse(message, function(output) { > assert.equal(output[0].text, testText); > assert.equal(output[0].blob, testImageBlob); > + // in lieu of location, it uses id stripped of unsafe chars > + assert.equal(output[0].name, '23'); Why not having another test case like "attachment with id and content only"? Maybe it would be better that comment about which device will send mms like this kind of format. @@ +175,5 @@ > SMIL.parse(message, function(output) { > assert.equal(output[0].text, testText); > assert.equal(output[0].blob, testImageBlob); > + // uses id in lieu of location > + assert.equal(output[0].name, '2'); Same here: We can have another test case here too.
Assignee | ||
Comment 3•11 years ago
|
||
reworked tests
Attachment #753602 -
Attachment is obsolete: true
Attachment #753602 -
Flags: review?(schung)
Attachment #753602 -
Flags: review?(felash)
Attachment #753608 -
Flags: review?(schung)
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → leo?
Whiteboard: [NO_UPLIFT]
Assignee | ||
Comment 4•11 years ago
|
||
+2 typo fixes: https://gist.github.com/gnarf37/55e98ae2afb0a44cb511 (bit rushed)
Comment 5•11 years ago
|
||
Comment on attachment 753608 [details] [diff] [review] patch v2 Review of attachment 753608 [details] [diff] [review]: ----------------------------------------------------------------- Since these typo are test only, r+ with these typo fixing. Thanks. ::: apps/sms/test/unit/smil_test.js @@ +130,5 @@ > + SMIL.parse(message, function(output) { > + assert.equal(output[0].text, testText); > + assert.equal(output[0].blob, testImageBlob); > + // uses the id > + assert.equal(output[0].name, '2'); output[0].name should be 23 here @@ +190,5 @@ > location: 'text1', > content: new Blob([testText], {type: 'text/plain'}) > },{ > id: '<2>', > + location: 'example.jpg' Comma missed here.
Attachment #753608 -
Flags: review?(schung) → review+
Assignee | ||
Comment 6•11 years ago
|
||
master: aa34feca04eb51e5ab98a38b8fce2f23b6492a5d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
blocking-b2g: leo? → leo+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT] → [NO_UPLIFT][uplift-blocker]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT][uplift-blocker]
Assignee | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
status-b2g18:
--- → fixed
Updated•11 years ago
|
Flags: in-moztrap?
You need to log in
before you can comment on or make changes to this bug.
Description
•