Closed Bug 1945178 Opened 1 year ago Closed 11 months ago

Reset the search settings when corrupted

Categories

(Firefox :: Search, enhancement, P2)

Firefox 136
enhancement

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox136 --- wontfix
firefox139 --- fixed

People

(Reporter: mbeier, Assigned: mbeier)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

When there is an exception while reading the search settings, we should reset them. Otherwise, the user will not be able to search at all which is worse than losing their opensearch engines and default engine.

We should also:

  • Add telemetry on the frequency of such failures to help identify issues
  • Back up the corrupted settings file to reproduce issues
  • Display a banner informing the user
Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → mbeier
Status: NEW → ASSIGNED
Pushed by mbeier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec5ec675b76b Reset the search settings when corrupted. r=Standard8,fluent-reviewers,bolsson
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

https://hg-edge.mozilla.org/mozilla-central/rev/ec5ec675b76b#l9.12 is causing test failures for Thunderbird as this is toolkit/ code referring to browser/ (which Thunderbird does not have)

Regressions: 1959924

Sorry for that. I didn't notice and the linter rule that should catch this is disabled in tests for some reason. It will be fixed in Bug 1959924.

Thanks!!

QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: