Closed Bug 903154 Opened 11 years ago Closed 8 years ago

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

Categories

(Core Graveyard :: Identity, defect)

22 Branch
x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jedp, Assigned: zaach)

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)
(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)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.