Set name of Persona process in B2G to Persona, not Browser

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
5 years ago
3 years ago

People

(Reporter: jedp, Assigned: zaach)

Tracking

22 Branch
x86_64
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

As an aid to debugging, it would be helpful if the b2g persona process's name were "Persona" rather than "Browser".
:jlebar suggested we could look at the uri in TabChild::RecvLoadURL, and have SetProcessNameToAppName() behave accordingly

https://mxr.mozilla.org/mozilla-central/source/dom/ipc/TabChild.cpp#1232
Well, that's a hack, because if the user visits persona.org (or whatever the magic domain is) in the browser, we don't want to change the process name.

If you want something to check in, we'd need to do something more clever, like set a magic attribute on the <iframe mozbrowser> and send that down to the TabChild.
Ah, ok yes, that sounds better.  And that could also be used by other apps, too.
Assignee: jparsons → zack.carter
Well, other apps can't open <iframe mozbrowser> in separate processes until bug 879475 lands.
Zach, are you working on this, or should I take it?
Flags: needinfo?(zack.carter)
(Assignee)

Comment 6

5 years ago
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #5)
> Zach, are you working on this, or should I take it?

Feel free to take it, Kyle.
Flags: needinfo?(zack.carter)
(Assignee)

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.