Allow initializing FOG from JS with a custom application id
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
For a consumer like the Background Task Runtime's individual background tasks, we need a JS-accessible FOG init function that can take a custom application id. Otherwise if and when it sends builtin pings they'll look as though they've come from Firefox Desktop itself.
This work could've been done in bug 1694505 but I scoped that bug too narrowly.
Note that, should a background task choose to use its own application id (which it should), it will need to file the appropriate bug to have itself added as a new application_id, and it should consider listing itself under Firefox Desktop's app_name
so it appears as a "variant" in the same family.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
(In reply to Chris H-C :chutten from comment #0)
Note that, should a background task choose to use its own application id (which it should), it will need to file the appropriate bug to have itself added as a new application_id, and it should consider listing itself under Firefox Desktop's
app_name
so it appears as a "variant" in the same family.
It's going to be another "channel" of Firefox Desktop then (because that's how we differentiate multiple variants under a single app name).
I think that's still fine though
Comment 4•4 years ago
|
||
Backed out for causing build bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/9df021167d90c072d0be81f66b2793d68e6646b0
Assignee | ||
Comment 5•4 years ago
|
||
Well that's embarrassing.
This time I triple-checked that I linted, built, ran, and passed tests.
Comment 7•4 years ago
|
||
bugherder |
Description
•