Closed
Bug 960582
Opened 10 years ago
Closed 10 years ago
use nsIFile for pathname construction when dumping mochitest memory files
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla29
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
3.06 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Prior to this patch, we used forward slashes for pathname concatenation. We shouldn't do that, especially because the filename manipulation functions we use inside XPCOM complain about forward slashes in Windows pathnames. Instead, use nsIFile to concatenate pathnames, so the correct kind of slash is used in all cases. I love cross-platform code, don't you?
Attachment #8361128 -
Flags: review?(jmaher)
Comment 2•10 years ago
|
||
Comment on attachment 8361128 [details] [diff] [review] use nsIFile for pathname construction when dumping mochitest memory files Review of attachment 8361128 [details] [diff] [review]: ----------------------------------------------------------------- nice- I think there might be other areas unrelated to memorystats that could use similar love.
Attachment #8361128 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca89ba165731
Flags: in-testsuite+
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → nfroyd
https://hg.mozilla.org/mozilla-central/rev/ca89ba165731
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•