Closed
Description
This one is a relatively minor bug, since it only happens if you try to search for the same thing you are looking at, which is not a very natural thing to do. But I thought I would report it anyway.
Steps to reproduce
- Go to the front page of the std results from rustdoc
- Click in the search box at the top of the page
- Type in
assert
(as an example search term) and hit Return - If your rustdoc version has the bug rustdoc help popup appears in every new tab when no web local storage #79960, and you have cookies disabled or are viewing the docs via a
file://
url, click anywhere outside the help popup to dismiss it - See that some search results are displayed.
- Move the mouse pointer over the search results. A moving highlight is displayed.
- Move the mouse pointer over the search box, and left click, to focus the search box
- Hit return to search for the same thing again
Expected results
The same search is performed again, so the page reloads with little change.
Actual results
Whatever search result you last moused over, which has the highlight shown, is visited.
@rustdoc modify labels +T-rustdoc -A-rustdoc-ui