Closed Bug 1124900 Opened 10 years ago Closed 10 years ago

add test coverage for the keyboard navigation in the new search panel

Categories

(Firefox :: Search, enhancement)

x86
All
enhancement
Not set
normal
Points:
3

Tracking

()

RESOLVED FIXED
Firefox 38
Iteration:
38.2 - 9 Feb
Tracking Status
firefox37 --- fixed
firefox38 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file, 2 obsolete files)

The handling of keyboard events in the new search panel is complicated and would be easy to regress when changing it, so I think it needs tests.
Attached patch Patch (obsolete) (deleted) — Splinter Review
The only reason why I'm requesting feedback rather than review is that try server shows this as making the browser_yahoo_behavior.js test as failing on Linux (https://treeherder.mozilla.org/#/jobs?repo=try&revision=f6c945046e6f) and I haven't investigated why yet.
Assignee: nobody → florian
Status: NEW → ASSIGNED
Attachment #8553367 - Flags: feedback?(dtownsend)
Blocks: 1124904
Points: --- → 3
Flags: qe-verify-
Flags: firefox-backlog+
Iteration: --- → 38.1 - 26 Jan
Comment on attachment 8553367 [details] [diff] [review] Patch Review of attachment 8553367 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/search/test/browser_searchbar_keyboard_navigation.js @@ +6,5 @@ > + > +const kValues = ["foo1", "foo2", "foo3"]; > +const kUserValue = "foo"; > + > +function promiseNewEngine(basename) { Maybe we should move this into head.js
Attachment #8553367 - Flags: feedback?(dtownsend) → feedback+
Iteration: 38.1 - 26 Jan → 38.2 - 9 Feb
Depends on: 1126816
Attached patch Patch v2 (obsolete) (deleted) — Splinter Review
Addressed comment 2. Now requesting review, as I'm fixing the Orange I mentioned in comment 1 in bug 1126816.
Attachment #8553367 - Attachment is obsolete: true
Attachment #8558018 - Flags: review?(dtownsend)
Comment on attachment 8558018 [details] [diff] [review] Patch v2 Review of attachment 8558018 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/search/test/browser_searchbar_openpopup.js @@ -50,5 @@ > - } > - }); > - }); > -} > - You can also remove this from browser_searchSuggestionUI.js and browser_searchHighlight.js I think
Attachment #8558018 - Flags: review?(dtownsend) → review+
Attached patch Patch v2, unbitrotted (deleted) — Splinter Review
(In reply to Dave Townsend [:mossop] from comment #4) > You can also remove this from browser_searchSuggestionUI.js and > browser_searchHighlight.js I think No, these are in the browser/base/content/test/general folder rather than browser/components/search/test for some reason.
Attachment #8558018 - Attachment is obsolete: true
Attachment #8559162 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: