Closed
Bug 720747
Opened 14 years ago
Closed 14 years ago
Completely silence RIL worker by default
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: philikon, Assigned: philikon)
References
Details
(Whiteboard: [good first bug][lang=js][mentor=philikon])
Attachments
(1 file)
6.63 KB,
patch
|
qdot
:
review+
|
Details | Diff | Splinter Review |
Lots of debug() calls in ril_worker.js still not guarded by the DEBUG const. We might also want to flip the DEBUG flag to false in RadioInterfaceLayer.js.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [good first bug][lang=js][mentor=philikon]
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → philipp
Attachment #592262 -
Flags: review?(kyle)
Comment 2•14 years ago
|
||
Comment on attachment 592262 [details] [diff] [review]
v1
Review of attachment 592262 [details] [diff] [review]:
-----------------------------------------------------------------
Why not wrap the debug call in something higher up (i.e. radioDebug() that has the DEBUG check integrated)? Just seems like it might be a bit cleaner.
Also, instead of wrapping debug, is there any way we could change the logcat message to prefix with RIL? These messages are completely viable over in the radio logs, as that's what stock android does. The problem is, that's usually a #define in the compilation unit, which we don't exactly have now.
Comment 4•14 years ago
|
||
Comment on attachment 592262 [details] [diff] [review]
v1
Review of attachment 592262 [details] [diff] [review]:
-----------------------------------------------------------------
r=me after discussing next steps with philikon. This will work for right now.
Attachment #592262 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Summarizing IRL discussion:
* Explicit DEBUG checks prevent us from potentially having to construct expensive log strings.
* We should have more powerful logging in chrome-privileged environments, but it shouldn't block this from landing. Filed bug 723354.
Assignee | ||
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•