Closed Bug 971477 Opened 6 years ago Closed 2 years ago
startup-abouthome-dirty does not create a full profile
The code will launch Fennec, wait 10 seconds, then kill Fennec. That should create all the files needed to make a dirty profile. https://github.com/mozilla/eideticker/blob/30770715d7b4daf30f7428260d0a269fdfdaa5a0/src/eideticker/eideticker/runner.py#L138 This is almost perfect. The one piece that is missing is the Gecko preferences. When starting Fennec, any preferences that are set, like the one that tracks whether the app was updated, are not saved until the app is "paused", which really means "goes into the background". This happens a lot on Android, so we are pretty safe. However, if you start the app and kill the app, the Gecko preferences are not saved. Can we: 1. Start Fennec 2. Wait 10 seconds 3. Launch a different app or the homescreen 4. Wait 5 seconds 5. Kill Fennec That would allow the Gecko preferences to be saved
Another (maybe cleaner) option would be to add a command line option that triggers an activity.finish() call after we know the profile and prefs are all in place. AFAIK, calling finish() will trigger onPause() accordingly.
I think this should fix the problem. Need to test that it doesn't break things on the LG G2X before landing.
Assignee: nobody → wlachance
Eideticker has been discontinued, see bug 1361056
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.