GV API to return app name and branding to remote debugger
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(firefox71 affected)
Tracking | Status | |
---|---|---|
firefox71 | --- | affected |
People
(Reporter: cpeterson, Unassigned)
References
(Blocks 1 open bug)
Details
The DevTools remote debugger used hardcoded strings and workarounds in order to have something ready for the release for Firefox Preview (bug 1542286) and Reference Browser (bug 1522760). They still need a reliable API to get the runtime name and version from GV.
Fenix issue: https://github.com/mozilla-mobile/fenix/issues/2016
Reporter | ||
Comment 1•5 years ago
|
||
This information should be available in nsIXULAppInfo, which is statically defined at build time. We would need to rewrite to make it dynamic.
DevTools have a hard-coded workarounds for Fenix and R-B, so fixing GV to show proper app names when debugging of third-party apps is a low priority for now.
Whoops I gave Chris bad info. It's in nsAppRunner.cpp[1]. Seems reasonable that we could override the app name/version with stuff that the app provides via GeckoRuntimeSettings
.
https://searchfox.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#442
Updated•2 years ago
|
Description
•