Closed Bug 493983 Opened 11 years ago Closed 11 years ago

Fennec does a restart upon launch, making it difficult to debug and automate

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: jmaher, Unassigned)

Details

On windows mobile when clicking on fennec.exe, it launches fennec and then restarts right away.  This is confusing for scripts that automate fennec (such as the reftest harness) as it thinks that fennec has terminated when it has not even started up.  The end result is the script ends and fennec is sitting there doing nothing.  This also is a problem for debugging as well.  

Is there a EM_NO_RESTART option that we can give via cli or hardcode for #ifdef wince?
Can we use --environ option? Like this:
 
fennec.exe --environ:"NO_EM_RESTART=1"
(In reply to comment #1)
> Can we use --environ option? Like this:
> 
> fennec.exe --environ:"NO_EM_RESTART=1"

This should work. It's how we run tests on desktop:
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py.in#392
i can imagine we do a restart during first run (although we should do this in the installation process), or if you install a new addon, but we should not be restarting normally as it kills Ts.
I am not sure we need to keep this bug open?  using NO_EM_RESTART is working just fine and addon installation works as well.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
marking as verified
Status: RESOLVED → VERIFIED
Component: Windows Mobile → General
QA Contact: mobile-windows → general
You need to log in before you can comment on or make changes to this bug.