Closed Bug 951246 Opened 11 years ago Closed 11 years ago

Blob sent via IAC is received with no content

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S2 (23may)

People

(Reporter: amirn, Assigned: selin)

References

Details

Attachments

(1 file)

More information: When sending a blob with the Inter-app Communications API, the receiver receives a content-less blob.
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Blocks: 951249
Do you have a test-case as well?
Summary: Blob sent via IAP is received with no content → Blob sent via IAC is received with no content
STR: 1. checkout branch EverythingMe/rocketbar2-blob-icons https://github.com/EverythingMe/gaia/commits/rocketbar2-blob-icons 2. open the rocketbar 3. search for any query 4. icons are not displayed 5. checkout previous commit which uses base64 [bc6988ce7378acb44b73dddeea8f978f3e42c182] 6. repeat steps 2-3 5. icons *are* displayed
IAC uses normal cpmm/ppmm to pass blob through IPC. It's supposed to be working. Will check it out when I'm available. That would be great if anyone could also help with this. Thanks!
Depends on: inter-app-comm-api
Hi Henry, do you have bandwidth taking a look? :) IAC is using normal cpmm/ppmm to deliver blob. It it fails, then it means our activities fails either, which is not supposed to be happening.
Hi Amir, sorry for not getting back to this. Is this still an issue? Hi Sean, I'm thinking this might be a good bug for you.
Flags: needinfo?(amirn)
E.me no longer uses IAC (see bug 958923) so the STR in comment 2 is no longer relevant. AFAIK the bug was not fixed.
Flags: needinfo?(amirn)
After verification, the issue doesn't appear reproducible. (I've also tested against the Gaia code base in comment 2 along with the latest Gecko.) And there has been quite a few changes for both blob and IAC implementation since the issue was filed. Perhaps the issue got fixed (no matter intentionally or not) by some of them. In addition, I just added couple test cases to ensure IAC works well with blob for now as well as the future.
Assignee: nobody → selin
Comment on attachment 8423573 [details] Add tests to ensure IAC works well with blobs Overall looks good to me bug just some minor polishes.
Attachment #8423573 - Flags: review?(gene.lian)
Btw, whenever you make a commit (or PR?) you can see your test result running on the Travis (i.e. a kind of Try server on the Gaia side) which is shown at the bottom of the GitHub page. Your test is green. ;) All is well — The Travis CI build passed · Details
Attachment #8423573 - Flags: review?(gene.lian)
Comment on attachment 8423573 [details] Add tests to ensure IAC works well with blobs Nice! You can ask for checkin-needed after Travis passes. Thank you!
Attachment #8423573 - Flags: review?(gene.lian) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: