Result of arithmetic expression leads you to search page containing "="
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: mseibert, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: parity-chrome, parity-edge, Whiteboard: [sng-scrubbed][search-parity])
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Expected:
- Enter "5+5" in the addressbar.
- Click on the result "= 10".
- Get redirected to search engine with either full "artihmetic expression e.g. 5+5" or result "10" (without '=').
Actual:
You get redirected to the search engine with the result and the '=' e.g. "= 10".
Recommendation:
I think for the customer/user it would be best to redirect to the search result containing the original query. Search providers like Google, Bing and DuckDuckGo even provide a calculator UI. Usually searching for a result of a mathematical expression doesn't lead to anything useful.
Reporter | ||
Comment 1•2 years ago
|
||
Turns out the result is not from our UrlbarProviderCalculator.sys.mjs but rather a Search Engine result. Would be nice to have a calculator result that redirects to the search engine when clicked on.
Comment 2•2 years ago
|
||
We should be detecting the special case of a remote search suggestion starting with "=". We looked at what Chrome is doing, which seems like a reasonable approach.
Updated•2 years ago
|
Description
•