Closed Bug 1904014 Opened 3 months ago Closed 3 months ago

Remove function to do an empty search using the search bar one-off buttons.

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
firefox129 --- verified
firefox130 --- verified

People

(Reporter: mbeier, Assigned: mbeier)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(2 files, 1 obsolete file)

As part of the removal of SearchEngine.searchForm the one-off buttons in the search bar popup should be changed to only start a search when the search bar is not empty.
Previously they could be used to open the searchForm url but since that is gone now, pressing them when the search bar is empty results in a search for "".

Blocks: 1120641
Severity: -- → N/A
Priority: -- → P2
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80bffab6cb97 Remove function to do an empty search using the search bar one-off buttons. r=Standard8

Backed out for causing bc failures on browser_oneOffContextMenu.js

Flags: needinfo?(mbeier)
Flags: needinfo?(mbeier)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d796b34b249 Remove function to do an empty search using the search bar one-off buttons. r=Standard8
Regressions: 1906665
Regressions: 1906666
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Attachment #9412209 - Flags: approval-mozilla-beta?
Attachment #9412210 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: User will be able to start a search with an empty query. This will lead to error pages being displayed on some search engines.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Add search bar, click magnifying glass in search bar (opens popup), click on a search engine icon. Nothing should happen. Repeat but do right click -> open in new tab instead.
  • Risk associated with taking this patch: little
  • Explanation of risk level: Few and simple changes to non-test code
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9412209 - Attachment is obsolete: true
Attachment #9412209 - Flags: approval-mozilla-beta?
Attachment #9412210 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

The issue is verified fixed using the latest Fx 130.0a1 and Fx 129.0b9 on Windows 10 and Ubuntu 23.04.
Search bar searches with empty query no longer open the opens the search engine page.

Status: RESOLVED → VERIFIED
Regressions: 1912132
Blocks: 1912132
No longer regressions: 1912132

Adding related bugs for context due to seeing reports on Matrix for this functionality missing.

Depends on: 1903247
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: