Closed
Bug 624740
Opened 15 years ago
Closed 14 years ago
Alerts service shouldn't use nsDependentString to convert an nsAString to an nsString
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: neil, Assigned: edgarf2002)
References
()
Details
(Whiteboard: [good first bug][mentor=jdm])
Attachments
(1 file)
1.86 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
It also uses nsAutoString as a conversion, which is probably overkill; nsString or possibly PromiseFlatString should work, depending on how the string is used.
Comment 1•14 years ago
|
||
The relevant code is here:
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/alerts/nsAlertsService.cpp#87
I think using PromiseFlatString should be fine here, since the data just ends up being copied into another nsString inside the AlertObserver constructor.
Whiteboard: [good first bug]
Updated•14 years ago
|
Whiteboard: [good first bug] → [good first bug][mentor=jdm]
Assignee | ||
Comment 2•14 years ago
|
||
Assignee | ||
Comment 3•14 years ago
|
||
I have a question. How are reviewers found? Is there a list for a specific section of the repository?
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 551235 [details] [diff] [review]
per suggestion changed nsDependentString to PromiseFlatString
Mossop said that I could review this.
Attachment #551235 -
Flags: review+
Updated•14 years ago
|
Assignee: nobody → edgarf2002
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [good first bug][mentor=jdm] → [good first bug][mentor=jdm][inbound]
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=jdm][inbound] → [good first bug][mentor=jdm]
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•