Closed
Bug 919440
Opened 11 years ago
Closed 11 years ago
There have some errors in refCount(In MmsService.js)
Categories
(Core :: DOM: Device Interfaces, defect, P2)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
DUPLICATE
of bug 917167
People
(Reporter: sync-1, Assigned: airpingu)
Details
Attachments
(6 files)
DEFECT DESCRIPTION:
I think there have some errors in refCount(In MmsService.js), please help to confirm it.
1. Send the first mms A , the refCount is zero in function acquire, if another mms B is sent before A send successful, the refCount will up to 1, then after A send successful, the refCount will decrease to zero in the function release, and there will set a delay to release MMS network (onDisconnectTimerTimeout), but mms B still not send successful (I think it's an error). If the onDisconnectTimerTimeout is called before B send success, here will occur an error, the second MMS unable send successful.
2. Send a mms A successful, send another mms B before onDisconnectTimerTimeout is called, if onDisconnectTimerTimeout is called before the mms B send successfull, then will occur an error, the mms B unable send successful. (I think it's an error that in onDisconnectTimerTimeout not judge refCount)
3. Continuously send mms, if some error occur in XHR, in xhr.onerror will call releaseMmsConnectionAndCallback, and in xhr.onreadystatechange will also call
releaseMmsConnectionAndCallback, then refCount will be reduce twice, it's an error.
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Reporter | ||
Comment 10•11 years ago
|
||
Clone from brother
Reporter | ||
Comment 11•11 years ago
|
||
Reporter | ||
Comment 12•11 years ago
|
||
Clone from brother
Reporter | ||
Comment 13•11 years ago
|
||
Updated•11 years ago
|
Component: Gaia::SMS → DOM: Device Interfaces
Product: Boot2Gecko → Core
Summary: [Buri][T-mobile 51612][MMS]The device cannot send MMS → There have some errors in refCount(In MmsService.js)
Assignee | ||
Comment 14•11 years ago
|
||
Thanks for catching this! Really appreciate.
After some thoughts, I think I'll still use the original bug 917167 to fix this issue since it's indeed causing a kind of failure of sending MMS. Really sorry for letting you open this bug again. I'll close this one when bug 917167 is fixed. Thank you!
Assignee: nobody → gene.lian
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•