Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Initialize NS_XPCOM_LIBRARY_FILE from NS_GRE_DIR

RESOLVED FIXED in mozilla8

Status

()

Core
XPCOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

Trunk
mozilla8
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
In NS_InitXPCOM2, NS_XPCOM_LIBRARY_FILE is initialized either from the directory given as an argument to the function, if one, or from the directory service with the NS_XPCOM_CURRENT_PROCESS_DIR key otherwise.

In both cases, it ends up being actually wrong, because it initializes with the application directory, not the GRE directory, which makes NS_XPCOM_LIBRARY_FILE return something wrong on xulrunner.
(Assignee)

Comment 1

6 years ago
Created attachment 545926 [details] [diff] [review]
Initialize NS_XPCOM_LIBRARY_FILE from NS_GRE_DIR
Attachment #545926 - Flags: review?(benjamin)
(Assignee)

Updated

6 years ago
Assignee: nobody → mh+mozilla
Blocks: 671562
Attachment #545926 - Flags: review?(benjamin) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/0d18ffe52cd7
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/0d18ffe52cd7
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.