Closed Bug 927429 Opened 6 years ago Closed 6 years ago

Set dynamic UA override URL on B2G

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

(blocking-b2g:koi+, firefox26 fixed, firefox27 fixed, b2g-v1.2 fixed)

RESOLVED FIXED
1.2 C3(Oct25)
blocking-b2g koi+
Tracking Status
firefox26 --- fixed
firefox27 --- fixed
b2g-v1.2 --- fixed

People

(Reporter: jchen, Assigned: jchen)

References

Details

Attachments

(1 file)

Now that we have a URL, we should include it for tip and the 1.2 branch.
Using the URL from bug 912215
Attachment #818494 - Flags: review?(fabrice)
I verified the URL is correct on my unagi. Right now the server doesn't support SSL so the request still fails, but bug 927181 will fix that.
blocking-b2g: --- → koi?
Depends on: 927181
Attachment #818494 - Flags: review?(fabrice) → review+
blocking-b2g: koi? → koi+
Tested on unagi. Ready to land.
Keywords: checkin-needed
Jim,

Currently we are using a script [1] to add or remove domain names for testing on Firefox OS. Because the list format changed [2] I have the feeling we will have to revise the script. I might have missed it, but where the list will be living now.

Currently we are editing in 1.0 and 1.1
/system/b2g/defaults/pref/user.js


[1]: https://github.com/karlcow/webcompat/tree/master/moz
[2]: https://hg.mozilla.org/integration/b2g-inbound/rev/edd87e1f3268
Flags: needinfo?(jcheng)
(In reply to Karl Dubost :karlcow from comment #5)
> Jim,
> 
> Currently we are using a script [1] to add or remove domain names for
> testing on Firefox OS. Because the list format changed [2] I have the
> feeling we will have to revise the script. I might have missed it, but where
> the list will be living now.
> 
> Currently we are editing in 1.0 and 1.1
> /system/b2g/defaults/pref/user.js
> 
> 
> [1]: https://github.com/karlcow/webcompat/tree/master/moz
> [2]: https://hg.mozilla.org/integration/b2g-inbound/rev/edd87e1f3268

Hi Karl, prefs still have priority over updated UA, so any prefs you set through the script should still work. If you want to remove an updated UA, I think you can just set the corresponding pref to an empty string, e.g. pref("general.useragent.override.mozilla.org", "")
https://hg.mozilla.org/mozilla-central/rev/c3507f112ba8
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2 C3(Oct25)
Flags: needinfo?(jcheng)
You need to log in before you can comment on or make changes to this bug.