Closed
Bug 43089
Opened 25 years ago
Closed 25 years ago
nsChromeRegistry::GetProfileRoot uses filelocator!
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla0.8
People
(Reporter: dougt, Assigned: ccarlen)
Details
Instead of using the filelocator, you should use the nsDirectoryService. The
reason for this is that the filelocator requires the appshell crap whereas the
directoryservice is built into xpcom.
nsChromeRegistry::GetProfileRoot(nsCString& aFileURL)
{
nsCOMPtr<nsIFileLocator> fl;
nsresult rv =
nsComponentManager::CreateInstance("component://netscape/filelocator",
nsnull,
NS_GET_IID(nsIFileLocator),
getter_AddRefs(fl));
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 1•25 years ago
|
||
-> nsbeta2. moving to m16. we're hammering out dependency issues and this is low
hanging fruit.
Target Milestone: Future → M16
Comment 2•25 years ago
|
||
Then reassign it to someone else. I don't have time in M16 to deal with this
issue.
M16 has been out for a while now, these bugs target milestones need to be
updated.
Comment 5•25 years ago
|
||
m17 is out now, please update target
Comment 6•25 years ago
|
||
over to conrad.
Assignee: valeski → ccarlen
Target Milestone: M16 → mozilla0.8
| Assignee | ||
Comment 7•25 years ago
|
||
Fixed with
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/rdf/chrome/src&command=DIFF_FRAMESET&file=nsChromeRegistry.cpp&rev2=1.162&rev1=1.161
Missed marking it somehow :-/
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: brendan → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•