Closed Bug 840758 Opened 11 years ago Closed 11 years ago

Get the profile directory earlier

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: espindola, Assigned: espindola)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
I not sure which bug reordered things, but NS_GetSpecialDirectory started failing because the directory service was already shutdown.
Attachment #713145 - Flags: review?(bgirard)
Attachment #713145 - Flags: review?(bgirard) → review+
Got reverted because of an android build failure. I didn't realize that mozPoisonWriteBase was not linked in. A try push is at https://tbpl.mozilla.org/?tree=Try&rev=9a106d44e989.
Attached patch patch v2Splinter Review
Same as before, except for two fixes:

* Provide a stub version of InitWritePoisoning.
* Call it a bit earlier, so that it works when an xpcshell test changes the directory service.

https://tbpl.mozilla.org/?tree=Try&rev=b4d29a51dbbc
Attachment #713145 - Attachment is obsolete: true
Attachment #713501 - Flags: review?(bgirard)
Attachment #713501 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/fd5226036350
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: