Closed
Bug 1486901
Opened 7 years ago
Closed 7 years ago
Browser restarts should use launcher process when --enable-launcher-process is set
Categories
(Firefox :: General, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: inj+)
Attachments
(3 files)
Things like safe mode restarts, restarting from the profile manager, etc.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
This patch causes Firefox processes created via LaunchChild to start via the
launcher process.
While this extra hop through the launcher process takes longer than if we were
to simply make LaunchChild use the same code as the launcher process itself,
I do not want to simply export LauncherProcessMain from firefox.exe, as that
would be too easy to hook into and mess with.
Another option would be to host a second copy of the launcher code inside
xul.dll, but that's less than ideal.
Anyway, until we get that figured out, I don't think it's too big a deal to
have this extra hop in place. I don't think anybody has been clamoring for
faster restarts from the updater or the profile manager.
Depends on D4496
Comment 3•7 years ago
|
||
Comment on attachment 9004711 [details]
Bug 1486901: Part 1 - Allow RunAsLauncherProcess to fall back to environment and command line if the parent process check does not return true; r=mhowell!
Matt Howell [:mhowell] has approved the revision.
Attachment #9004711 -
Flags: review+
Comment 4•7 years ago
|
||
Comment on attachment 9004712 [details]
Bug 1486901: Part 2 - Set MOZ_LAUNCHER_PROCESS when the launcher process is enabled by default and restarting via LaunchChild; r=mhowell!
Matt Howell [:mhowell] has approved the revision.
Attachment #9004712 -
Flags: review+
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6f6c28eb6041
Part 1 - Allow RunAsLauncherProcess to fall back to environment and command line if the parent process check does not return true; r=mhowell!
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/511ad3e51be3
Part 2 - Set MOZ_LAUNCHER_PROCESS when the launcher process is enabled by default and restarting via LaunchChild; r=mhowell!
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f6c28eb6041
https://hg.mozilla.org/mozilla-central/rev/511ad3e51be3
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Comment 8•7 years ago
|
||
In the wee hours of last night, I realized that there is a bug in this code. I need to land a follow-up patch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment on attachment 9004978 [details]
Bug 1486901: Part 3 - Ensure that all RunAsLauncherProcess tests run to ensure side effects; r=mhowell!
Matt Howell [:mhowell] has approved the revision.
Attachment #9004978 -
Flags: review+
Comment 11•7 years ago
|
||
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf15e6faf983
Part 3 - Ensure that all RunAsLauncherProcess tests run to ensure side effects; r=mhowell!
Comment 12•7 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•7 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•