Closed Bug 279773 Opened 20 years ago Closed 20 years ago

Firefox trunk isn't coming up on OS/2

Categories

(Firefox :: General, defect)

x86
OS/2
defect
Not set
blocker

Tracking

()

RESOLVED FIXED

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(5 files)

Found four issues.

1. nsNativeAppSupportOS2.cpp needs to be reported (Rich Walsh did that)
2. need some changes for commandline service (Rich Walsh did that)
3. Need a SHORT_LIBNAME for permissions.dll
4. GetWorkingDirectory wasn't working on OS/2.

Patches coming.
Severity: normal → blocker
adds platform-specific code to nsCommandLine::ResolveFile and defines
"cmdlines" as the SHORT_LIBNAME for the commandlines library
Comment on attachment 172513 [details] [diff] [review]
nsCommandLine changes needed by OS/2

r=mkaply
Attachment #172513 - Flags: review+
revisions to use nsICommandLine, largely ported from nsNativeAppSupportWin
a simpler way to fix OS/2-specific code in SpecialSystemDirectory.cpp (see
attachment 172354 [details] [diff] [review])
The startup code in nsCommandline.cpp & nsBrowserContentHandler.js produces
inconsistent results.  The first invocation of Firefox can successfully load a
file with a relative path.  Subsequent invocations fail unless the filename
specified on the commandline is fully-qualified.  I suspect, but can't confirm,
that this is an XP problem rather than OS/2-specific.  Should I open a new bug?
(In reply to comment #7)
> The startup code in nsCommandline.cpp & nsBrowserContentHandler.js produces
> inconsistent results.  The first invocation of Firefox can successfully load a
> file with a relative path.  Subsequent invocations fail unless the filename
> specified on the commandline is fully-qualified.  I suspect, but can't confirm,
> that this is an XP problem rather than OS/2-specific.  Should I open a new bug?
> 

We need to get someone to verify that first.
(In reply to comment #8)
> > The startup code in nsCommandline.cpp & nsBrowserContentHandler.js produces
> > inconsistent results.  [...]  I suspect, but can't confirm, that this is an
> > XP problem rather than OS/2-specific.
> 
> We need to get someone to verify that first.

I tried reproducing this using the Windows nightly from Jan 27th - no problems
there.  I'll keep investigating why it fails on OS/2.  Unfortunately, I don't
understand how nsBrowserContentHandler.js & nsDefaultCLH.js fit into the big
picture :-(
Comment on attachment 172519 [details] [diff] [review]
an alternative for GetWorkingDirectory Fix

r=mkaply

We should fix these all over the code :)
Attachment #172519 - Flags: review+
These patches are all in, so this is fixed.

Let's open another bug for the command line problem.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: