Closed Bug 1382700 Opened 7 years ago Closed 7 years ago

UITour lacks the `hideMenu` api support for the single search bar (urlbar) dropdown menu

Categories

(Firefox :: Tours, defect, P1)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1382579
Firefox 57

People

(Reporter: Fischer, Assigned: Fischer)

References

Details

STR:
1. Enter https://support.mozilla.org/en-US/
2. Open Web Console
3. In the console, run `Mozilla.UITour.showMenu("urlbar"); setTimeout(() => Mozilla.UITour.hideMenu("urlbar"), 500);`

Expected:
The search dropdown menu opens then closes after around 0.5s

Actual: 
The search dropdown menu opens but never closes

Root Cause:
UITour implements the `showMenu` api support for the url[1] but doesn't implement the support for the urlbar inside the `hideMenu`[2].

[1] https://dxr.mozilla.org/mozilla-central/rev/1b065ffd8a535a0ad4c39a912af18e948e6a42c1/browser/components/uitour/UITour.jsm#1405
[2] https://dxr.mozilla.org/mozilla-central/rev/1b065ffd8a535a0ad4c39a912af18e948e6a42c1/browser/components/uitour/UITour.jsm#1425
Assignee: nobody → fliu
Status: NEW → ASSIGNED
Flags: qe-verify+
Priority: -- → P1
QA Contact: jwilliams
Whiteboard: [photon-onboarding]
Target Milestone: --- → Firefox 57
The bug 1382579 handled this but together so duplicate it and remove the whiteboard tag.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Whiteboard: [photon-onboarding]
You need to log in before you can comment on or make changes to this bug.