Closed Bug 1906541 Opened 1 year ago Closed 1 year ago

Ensure Searchmode Switcher works when Search Services fails

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

VERIFIED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: daleharvey, Assigned: yazan)

References

(Blocks 1 open bug)

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: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

This fix was covered and subsequently verified by the Unified Desktop Search Button QA-2542 feature run during Scotch Bonnet sign-off.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: