Closed
Bug 972158
Opened 11 years ago
Closed 7 years ago
[Settings] Create UA override menu item for Firefox OS in Developer Settings
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: karlcow, Unassigned)
Details
We now have dynamic UA override Bug 927429. That's good.
We are often contacting Web sites owners for getting rid of the wrong UA detection and being able to remove the UA override. The issue happens when they need to test on their own device. The current way to do it is to rely on a bash script for changing the preferences.
https://github.com/karlcow/webcompat/blob/master/moz/mozua2.sh
That requires a lot of hoops which might not be obvious for a project manager or someone in charge of the QA in a Web agency.
I would favor a menu item in the Developer Settings of Firefox OS to put on or off the ua override. So people can easily test it.
Settings -> Device Information -> More Information -> Developer
Comment 1•11 years ago
|
||
What about adding that in the app manager? Some kind of "Manager UA overrides" functionality there could be handy.
![]() |
Reporter | |
Comment 2•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #1)
> What about adding that in the app manager? Some kind of "Manager UA
> overrides" functionality there could be handy.
Fabrice,
Using Firefox OS 2.2.0.0-prerelease, I noticed that the "Developer Menu" was richer than before.
For testing, it would be very cool if we could have a "Ignore UA override".
Currently I'm removing the UA override for domain names with
https://github.com/karlcow/webcompat/blob/master/moz/mozua2.sh
but it's cumbersome to ask Web developers who have access to a device to do the same thing when it's time for them to test.
If it's just a JavaScript and if you point the WebCompat team in the right place, we could propose a patch.
Flags: needinfo?(fabrice)
Comment 3•11 years ago
|
||
Karl,
You would have to do changes in two places:
- in the settings app, to add your new toggle (eg in https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/elements/developer.html)
- map the setting to the gecko pref in https://mxr.mozilla.org/mozilla-central/source/b2g/chrome/content/settings.js
let me know if you need help.
Flags: needinfo?(fabrice)
Comment 4•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•