Open Bug 1529390 Opened 6 years ago Updated 2 years ago

[Mac] Rename content process executable to something user friendly for Activity Monitor listing

Categories

(Core :: Security: Process Sandboxing, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox67 --- affected

People

(Reporter: haik, Unassigned)

References

(Blocks 1 open bug)

Details

Today we use PluginUtilsOSX::SetProcessName() in child processes to set the Mac process name displayed in Activity Monitor. This depends on connections to coreservices and the windowserver which we are working to remove from our child process sandboxes. With those services blocked, Activity Monitor displays the process name as "plugin-container" which is somewhat cryptic and not intuitive to our users. Renaming the child process executable to, for example, "Firefox Helper" would let our processes show up in Activity Monitor with an understandable name.

Blocks: 1467758, 1525086
See Also: → e10s-rename
No longer blocks: 1525086
See Also: → 1525086
Priority: -- → P3
Blocks: 1504554
No longer blocks: 1467758

(In reply to Haik Aftandilian [:haik] from comment #0)

Today we use PluginUtilsOSX::SetProcessName() in child processes to set the Mac process name displayed in Activity Monitor. This depends on connections to coreservices and the windowserver which we are working to remove from our child process sandboxes.

Correction: SetProcessName() depends on a connection to launchservices which we would also like to remove.

See Also: → 1532782

As far as prior art goes, Chrome uses Google Chrome for the parent and Google Chrome Helper for the rest (renderer, GPU, utility). Being consistent and appending Helper seems reasonable. Safari has a WebContent process but they change the display name to the active URL.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.