Default search engine may be reset when upgrading to 108 if profile was previously copied
Categories
(Firefox :: Search, defect, P1)
Tracking
()
People
(Reporter: standard8, Assigned: standard8)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
|
Details | Review |
STR
- Use a Firefox version prior to 108
- Set the default engine to an application provided one that is not the default engine.
- Shutdown Firefox.
- Create a new profile, and copy the
search.json.mozlz4file into that profile.
- Note: SUMO suggests to copy the profile when moving to a new computer.
- Users may also simply copy the file to copy their search settings.
- Startup Firefox with the new profile.
- Upgrade Firefox to version 108.
Expected Results
=> The default search engine set in step 2 is retained.
Actual Results
=> The default search engine is reset to the application default (typically Google).
| Assignee | ||
Comment 1•3 years ago
|
||
The issue here is that we have some protection in place for against changing the default engine from outside of Firefox. When loading Firefox, if an application provided engine is default we allow the protection to be ignored.
However, we missed accounting for that case in the migration added in bug 1786324.
| Assignee | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1786324
| Assignee | ||
Comment 3•3 years ago
|
||
[Tracking Requested - why for this release]: Affects users upgrading to 108.
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
The issue is verified fixed using the provided try-build and following the steps in the description. After doing to the upgrade to the try-build, the engine no longer changes (still the same engine used before the upgrade). This was verified on both Windows 10 and Ubuntu 22 using the pave-over method (copying the trybuild over the original install files).
| Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9308496 [details]
Bug 1805883 - Default search engine may be reset when upgrading to 108 if profile was previously copied. r?#search-reviewers!
Beta/Release Uplift Approval Request
- User impact if declined: Users may have their default search engine reset to the application default when upgrading Firefox. This would only occur if they were using a profile that was previously copied.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Added an additional simple check to cover this case based on existing code. Code has automated tests.
- String changes made/needed: None
- Is Android affected?: No
Comment 9•3 years ago
|
||
Comment on attachment 9308496 [details]
Bug 1805883 - Default search engine may be reset when upgrading to 108 if profile was previously copied. r?#search-reviewers!
Approved for 109.0b3 and 108.0.1.
Comment 10•3 years ago
|
||
| bugherder uplift | ||
Comment 11•3 years ago
|
||
| bugherder uplift | ||
Comment 12•3 years ago
|
||
| bugherder | ||
Comment 13•3 years ago
|
||
The issue is verified fixed using Fx110.0a1, Fx108.0.1 and Fx109.0b3 on Windows 10, Ubuntu 22.04 and macOS. The default engine is no longer reset after the upgrade is performed if the previous profile was copied.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Regression tests added in the addressbar suite.
Description
•