Closed
Bug 337046
Opened 20 years ago
Closed 20 years ago
profile support
Categories
(Core Graveyard :: Java to XPCOM Bridge, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 323231
People
(Reporter: michal.ceresna, Assigned: jhpedemonte)
Details
Attachments
(1 file)
|
3.21 KB,
patch
|
Details | Diff | Splinter Review |
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
| Reporter | ||
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•20 years ago
|
||
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
Updated•12 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•