For zh-CN, updating builds older than Firefox 66 reverts the default search engine from Baidu to Google.
Categories
(Firefox :: Search, defect, P3)
Tracking
()
People
(Reporter: tracy, Assigned: standard8)
Details
I've been updating our Iris automation for updating the browser then checking for the correct default search engine. I discovered that with builds older than Fx66, browser update causes the default search engine to be set to Google. Prior to the update the search engine is correctly set to Baidu.
This seem similar to bug 1565315. Use the same steps to reproduce, except start with a zh-CN build with browser.search.region = 'CN'
| Reporter | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
•
|
||
To note and clarify comment 0, I've reproduced this when going from 65.0.2 -> 68.0.2 but not from 66 -> 68.0.2.
| Assignee | ||
Comment 2•6 years ago
|
||
I've looked into this a bit more, and discovered this is actually working as expected. In 65.0.2, the browser.migration.version preference is set to 77. When it hits version 78, the browser.search.region preference is reset - part of bug 1518326.
That reset will happen on startup of 68.0.2, so there's no easy way of doing this via setting the preference.
The only other thing I could suggest is changing the value of browser.search.geoip.url to point at a dummy server to return the region that you want for the test.
| Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #2)
The only other thing I could suggest is changing the value of
browser.search.geoip.urlto point at a dummy server to return the region that you want for the test.
That's worth a try. Can you point me to an example of the information this dummy server should provide?
| Reporter | ||
Comment 4•6 years ago
•
|
||
(In reply to Tracy Walker [:tracy] from comment #3)
(In reply to Mark Banner (:standard8) from comment #2)
The only other thing I could suggest is changing the value of
browser.search.geoip.urlto point at a dummy server to return the region that you want for the test.That's worth a try. Can you point me to an example of the information this dummy server should provide?
Nevermind, I found a way to do this directly from the pref with setting browser.search.geoip.url = "data:application/json,{"country_code": "CN"}",
Description
•