Closed
Bug 1118675
Opened 9 years ago
Closed 6 years ago
Improve NetworkService debugging message
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: edgar, Unassigned)
References
Details
Attachments
(3 files)
9.57 KB,
patch
|
Details | Diff | Splinter Review | |
4.05 KB,
patch
|
Details | Diff | Splinter Review | |
18.00 KB,
patch
|
Details | Diff | Splinter Review |
When reviewing bug 973543 and bug 1104664, I found the logging in NetworkService isn't clear enough for debugging. In this bug, I would like to improve it. e.g. - Add logging when sending message to net_worker, http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/NetworkService.js#94-107 - The request id assignment looks a little strange, http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/NetworkService.js#99-103 IMO, we should always assign a valid id no matter the callback is available or not. Otherwise, we will see a lot of request and response with id=0, and it's hard to map them together. - The response always contains a lot attribute because we assign every attribute with a default value in NetworkOptions.webidl. How about make them all optional and only construct it when it is really needed, though I don't know if it is possible.
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
Comment 5•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•