Closed Bug 1906541 Opened 4 months ago Closed 14 days ago

Ensure Searchmode Switcher works when Search Services fails

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: daleharvey, Assigned: yazan)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sng])

Attachments

(1 file)

No description provided.
Whiteboard: [sng]

One thing to check here is that when UrlbarSearchUtils fails, engine will be null in many cases.
getDisplayedEngineDetails still tries to use engine.name.

When invoking this.searchModeSwitcher.onSearchModeChanged() errors may cause an exception that would break external code.
Probably the onSearchModeChanged call should either be in a try/catch or catched internally.

See Also: → 1914380
Assignee: nobody → yalmacki
Summary: Ensure Searchmode Switcher works when Search Services fails + keyword.enabled = false → Ensure Searchmode Switcher works when Search Services fails
Blocks: 1922114
Pushed by yalmacki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88669d7958cf Ensure Searchmode Switcher works when Search Services fails. r=daleharvey,urlbar-reviewers,fluent-reviewers,mak

Backed out for causing bc failure on browser_searchModeSwitcher_basic.js

Backout link

Push with failures

Failure log

Flags: needinfo?(yalmacki)
Pushed by yalmacki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e8849b9f46f2 Ensure Searchmode Switcher works when Search Services fails. r=daleharvey,urlbar-reviewers,fluent-reviewers,mak
Flags: needinfo?(yalmacki)
Status: NEW → RESOLVED
Closed: 14 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: