Closed Bug 337046 Opened 20 years ago Closed 20 years ago

profile support

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 323231

People

(Reporter: michal.ceresna, Assigned: jhpedemonte)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.2) Gecko/20060419 Fedora/1.5.0.2-1.2.fc5 Firefox/1.5.0.2 pango-text Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.2) Gecko/20060419 Fedora/1.5.0.2-1.2.fc5 Firefox/1.5.0.2 pango-text this patch adds profile support. A testcase is e.g. to load http://news.com in the 1.9 branch. without profile support it crashes. Reproducible: Always
Attached patch profile support — — Splinter Review
Status: UNCONFIRMED → NEW
Ever confirmed: true
I don't agree with this patch. First, this bug should be duped to bug 323231. I think we should expose the methods |XRE_LockProfileDirectory()| and |XRE_NotifyProfile()| for use by Java apps. That way, the Java developer can decide whether to use a profile or not, and how to select the profile directory. Also, the code here seems to be wrong. According to the docs (http://lxr.mozilla.org/mozilla/source/toolkit/xre/nsXULAppAPI.h#275), |XRE_NotifyProfile()| should be called after |XRE_InitEmbedding()|. So I'm going to dupe this to bug 323231. We should just expose the methods |Mozilla.lockProfileDirectory()| and |Mozilla.notifyProfile()|, and let the logic be handled by the Java app. *** This bug has been marked as a duplicate of 323231 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: