Closed Bug 475363 Opened 16 years ago Closed 16 years ago

Fennec wants to save itself during first run

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Windows Mobile 6 Professional
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: dougt, Unassigned)

Details

During the first run, i see a save-as dialog.  The application wants to save "xulrunner.exe" from \bin\xulrunner.exe.
Does this happen in the emulator too? I don't see it in mine. Are you launching from fennec.exe?
yes, i am launch from fennec.exe on the device.  It only happens on the first run. (that is, i deleted my profile, and reran fennec)
The command lines that xulrunner.exe sees are:


 \bin\xulrunner\xulrunner.exe  \bin\application.ini 
 \bin\xulrunner\xulrunner.exe  \bin\xulrunner\xulrunner.exe
(In reply to comment #3)
> The command lines that xulrunner.exe sees are:
> 
> 
>  \bin\xulrunner\xulrunner.exe  \bin\application.ini 
>  \bin\xulrunner\xulrunner.exe  \bin\xulrunner\xulrunner.exe

That second one looks wrong :)
okay, found the problem.  I fixed it in our patch queue and updated the related bug 465874.

What was happening was that we would call CreateProcessW with an image name of:

"\bin\xulrunner\xulrunner.exe"

and a command line of:

\bin\xulrunner\xulrunner.exe -env a=b|c=d

with the patch in 465874, this dialog no longer comes up.
For reasons that baffle me, windows mobile doesn't see that the image name and the first part of the command line are the same.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
heh, I don't see this for the last few months of testing
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.