Closed
Bug 1049035
Opened 11 years ago
Closed 11 years ago
System JS : WARNING resource://gre/modules/HealthReport.jsm:1037 - variable msg redeclares argument
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 34
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
|
935 bytes,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
Noticed this go by in my debug-build spew:
{
System JS : WARNING resource://gre/modules/HealthReport.jsm:1037 - variable msg redeclares argument
}
This is from this code (in a file that's unified into HealthReport.jsm):
> 530 _recordProviderError: function (name, msg, ex) {
> 531 let msg = "Provider error: " + name + ": " + msg;
http://mxr.mozilla.org/mozilla-central/source/services/metrics/providermanager.jsm#531
I think we can just drop the "let" there.
Marking as blocking bug 845431, since that's what added this chunk of code.
| Assignee | ||
Comment 1•11 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
> Marking as blocking bug 845431, since that's what added this chunk of code.
er, "Marking as depending on"
| Assignee | ||
Comment 2•11 years ago
|
||
Dropping "let".
| Assignee | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Version: unspecified → Trunk
Updated•11 years ago
|
Attachment #8467932 -
Flags: review?(gps) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•7 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•