Closed Bug 916383 Opened 11 years ago Closed 11 years ago

Invisible autocomplete items selectable by keyboard when "your results" not shown

Categories

(Firefox for Metro Graveyard :: Firefox Start, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: rsilveira, Assigned: rsilveira)

References

Details

Attachments

(2 files)

STR:
- Type some letters in the url bar and see items populated in "your results" section of autocomplete popup
- Keep typing garbage until "your results" is empty.
- Press down key multiple times and notice that once you've iterated through every item you have to press the down key multiple times to cycle through.

When we detect that there was no results we just hide the grid, keeping whatever was there last. Those ghost items are still selectable by keyboard.
Attached patch Patch v1Splinter Review
Removes lingering results when none was found.
Attachment #804807 - Flags: review?(sfoster)
Will add a test for this.
Attachment #804807 - Flags: review?(sfoster) → review+
Test for the bug. Verified that fails without patch and passes with the fix.
Attachment #806262 - Flags: review?(mbrubeck)
https://hg.mozilla.org/mozilla-central/rev/d827810f4132
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Attachment #806262 - Flags: review?(mbrubeck) → review+
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: