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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla29

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

      No description provided.
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 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: 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.

Attachment

General

Created:
Updated:
Size: