Closed
Bug 1178453
Opened 10 years ago
Closed 10 years ago
Change logging in storage-json.js to avoid string concatenation
Categories
(Toolkit :: Password Manager, defect)
Toolkit
Password Manager
Tracking
()
RESOLVED
FIXED
mozilla42
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | fixed |
People
(Reporter: MattN, Assigned: rchtara, Mentored)
References
()
Details
(Whiteboard: [lang=js] [good first bug])
Attachments
(1 file, 1 obsolete file)
|
5.84 KB,
patch
|
MattN
:
review+
|
Details | Diff | Splinter Review |
storage-json.js currently concatenates its arguments to the log function instead of letting Console.jsm do the concatenation and provide cleaner/coloured/inspectable output.
We should convert lines like:
`this.log("Getting login saving is enabled for " + hostname);`
to
`this.log("Getting login saving is enabled for ", hostname);`
to get the output and performance benefits.
| Reporter | ||
Comment 1•10 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #0)
> to
> `this.log("Getting login saving is enabled for ", hostname);`
I meant to remove the space at the end of the string too:
`this.log("Getting login saving is enabled for", hostname);`
| Reporter | ||
Updated•10 years ago
|
Mentor: MattN+bmo
| Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8627885 -
Flags: review?(MattN+bmo)
| Comment hidden (obsolete) |
| Assignee | ||
Comment 4•10 years ago
|
||
Hello!
This the patch for this bug.
Could you please review it?
Thanxs
| Reporter | ||
Updated•10 years ago
|
Attachment #8627885 -
Attachment is patch: true
| Reporter | ||
Updated•10 years ago
|
Attachment #8627885 -
Flags: review?(MattN+bmo) → review+
| Reporter | ||
Updated•10 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8628338 -
Flags: review?(MattN+bmo)
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Assignee | ||
Comment 10•10 years ago
|
||
Hi Ryan,
Unfortunately, I don’t have try access yet.
| Assignee | ||
Comment 11•10 years ago
|
||
| Comment hidden (obsolete) |
| Reporter | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 13•10 years ago
|
||
Keywords: checkin-needed
Comment 14•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•