Closed Bug 1121535 Opened 11 years ago Closed 11 years ago

'search.xml, line 1122: TypeError: selectedButton is null' when pressing the up arrow in the searchbox if all the one off buttons are hidden

Categories

(Firefox :: Search, defect)

defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 1124904

People

(Reporter: florian, Unassigned)

References

Details

The error is on this line: http://hg.mozilla.org/mozilla-central/annotate/3121f461b090/browser/components/search/content/search.xml#l1134 STRs: 1. Go to the search pref pane, hide all the one off buttons. 2. Type something in the searchbox 3. Press the up arrow. Expected result: no JS error. Alt+up also has the same problem, on this line: http://hg.mozilla.org/mozilla-central/annotate/3121f461b090/browser/components/search/content/search.xml#l1078
This got fixed as part of bug 1124904. It may be nice to add some test coverage for keyboard navigation in the case where all the one-off buttons are hidden though.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.