Closed Bug 175866 Opened 22 years ago Closed 21 years ago

[MachO] test file path compatibility between CFM and MachO profiles

Categories

(Core :: XPCOM, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla1.4alpha

People

(Reporter: sfraser_bugs, Assigned: ccarlen)

References

Details

File paths on Mac OS X can take several different forms:

CFM Path (Mozilla): file:///Data/Users/smfr/Documents/downloads/timerpatch.txt
CFM Path (IE):      file://localhost/Users/smfr/Documents/downloads/timerpatch.txt
MachO Path (Chimera): file:///Users/smfr/Documents/downloads/timerpatch.txt

We need to determine if we need to do any conversion for profiles moved
from CFM to Macho, in places that store local URIs (bookmarks, rdf?).
Making a note of where such things occur:

user_pref("editor.history_url_0", ...);
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
From the newsgroup:

Path: secnews.netscape.com!not-for-mail
From: "Greg K." <gregK@invalid.invalid>
Newsgroups: netscape.public.mozilla.macosx
Subject: Re: CFM and Mach builds can't share profiles?
Date: Mon, 21 Oct 2002 00:05:12 -0700
Organization: Another Netscape Collabra Server User
Lines: 7
Message-ID: <ap08i9$a5n3@ripley.netscape.com>
References: <aogcmq$2ou2@ripley.netscape.com> <3DAC71CE.7020509@netscape.com>
<aomop1$s5f4@ripley.netscape.com> <aoo709$5gl1@ripley.netscape.com>
NNTP-Posting-Host: adsl-206-170-148-159.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021018
X-Accept-Language: en-us, en
In-Reply-To: <aoo709$5gl1@ripley.netscape.com>
Xref: secnews.netscape.com netscape.public.mozilla.macosx:3020

Okay, I think I found the problem (thanks to Kevin Gerich). When you 
install a profile, Mozilla writes to chrome.rdf in the profile some 
information including a baseURL file URL value that points to the profile.

Unfortunately, CFM and Mach compose this file URL differently; CFM 
includes the volume name, while Mach doesn’t.
-> 1.3a
Target Milestone: mozilla1.2beta → mozilla1.3alpha
*** Bug 175991 has been marked as a duplicate of this bug. ***
I think bug 188263 depends on this.
Mass move of 1.3a bugs -> 1.4a.
Target Milestone: mozilla1.3alpha → mozilla1.4alpha
The problem mentioned in comment 2 has been fixed - or, at least, Mach-O builds
are protected from that problem. See bug 181641.

> I think bug 188263 depends on this.

No, unrelated problem.

So, I'm not what we're left with in this bug, since it's pretty general. Now
that Mach-O nightlies are being released, if there are more specific bugs WRT
this, they'll show up and should be dealt with individually.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.