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)
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.
Reporter | ||
Updated•11 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Comment 1•11 years ago
|
||
Do you have a test-case as well?
Reporter | ||
Updated•11 years ago
|
Summary: Blob sent via IAP is received with no content → Blob sent via IAC is received with no content
Reporter | ||
Comment 2•11 years ago
|
||
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
Comment 3•11 years ago
|
||
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
Comment 4•11 years ago
|
||
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.
Updated•11 years ago
|
Blocks: inter-app-comm-api
No longer depends on: inter-app-comm-api
Comment 5•11 years ago
|
||
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)
Reporter | ||
Comment 6•11 years ago
|
||
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)
Assignee | ||
Comment 7•11 years ago
|
||
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 | ||
Comment 8•11 years ago
|
||
Attachment #8423573 -
Flags: review?(gene.lian)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → selin
Comment 9•11 years ago
|
||
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)
Comment 10•11 years ago
|
||
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
Assignee | ||
Updated•11 years ago
|
Attachment #8423573 -
Flags: review?(gene.lian)
Comment 11•11 years ago
|
||
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+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 12•11 years ago
|
||
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.
Description
•