Closed
Bug 742780
Opened 14 years ago
Closed 13 years ago
Turn off the debug mode by default for dom/system/gonk/systemlibs.js
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: vingtetun, Assigned: vingtetun)
Details
Attachments
(1 file, 1 obsolete file)
|
3.34 KB,
patch
|
qdot
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #612594 -
Flags: review?(kyle)
| Assignee | ||
Comment 2•14 years ago
|
||
Actually there is a if DEBUG that seems to not make sense too.
Attachment #612594 -
Attachment is obsolete: true
Attachment #612594 -
Flags: review?(kyle)
Attachment #612609 -
Flags: review?
| Assignee | ||
Updated•14 years ago
|
Attachment #612609 -
Flags: review? → review?(kyle)
Comment 3•14 years ago
|
||
The systemlibs.js DEBUG guards seem dicey. Aren't we only going to be printing those when running from desktop b2g anyways? Wouldn't it be nice to know points where we're having to stub in libraries? Or are these causing print spam?
| Assignee | ||
Comment 4•14 years ago
|
||
(In reply to Kyle Machulis [:kmachulis] [:qdot] from comment #3)
> The systemlibs.js DEBUG guards seem dicey. Aren't we only going to be
> printing those when running from desktop b2g anyways? Wouldn't it be nice to
> know points where we're having to stub in libraries? Or are these causing
> print spam?
Yeah that's only on desktop AFAIK. It's nice to know we have stubs in libraries but this is likely something you want to know when you're debugging an issue in this part of the code, otherwise it sounds just like print spam to me.
Comment 5•14 years ago
|
||
Comment on attachment 612609 [details] [diff] [review]
Patch v0.2
Eh, yeah, good point. It should probably be transparent if not on DEBUG mode.
Attachment #612609 -
Flags: review?(kyle) → review+
| Assignee | ||
Comment 6•14 years ago
|
||
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla14
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
This completely broke RIL and Wifi due to the double const. Please always test your patches on the device! I have fix ready, just testing on the device now to make sure.
Component: General → DOM: Device Interfaces
OS: All → Gonk
QA Contact: general → device-interfaces
Hardware: All → ARM
Comment 9•13 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•