Closed Bug 1388512 Opened 7 years ago Closed 7 years ago

browser_menu_touch.js fails to run on windows 10

Categories

(Firefox :: Theme, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: jmaher, Assigned: johannh)

References

Details

Attachments

(1 file)

in trying to green up tests on windows10, I find a test that is written specifically for windows 10 and doesn't run for me locally. I get a failure at this location: http://searchfox.org/mozilla-central/source/browser/base/content/test/touch/browser_menu_touch.js#75 which is this part of the test: // Test the page action menu. add_task(async function test_page_action_panel_touch() { let pageActionPanel = document.getElementById("page-action-panel"); let target = document.getElementById("urlbar-page-action-button"); await openAndCheckMenu(pageActionPanel, target); }); if I remove this task, the test completes just fine. In searching the source code for |urlbar-page-action-button|, I do not find any other reference, just line 74 in the test file. I would like to figure this out and allow the test to run if possible- there are 3 test files that fail on windows 10 browser-chrome, this is one of them.
:johannh, I see that you authored the patch which added this test, is there any chance you could elaborate on this specific element?
Flags: needinfo?(jhofmann)
Ah, this element was renamed in bug 1374477 but they obviously didn't fix the test because the test was already failing. I'll fix it up.
Flags: needinfo?(jhofmann)
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Comment on attachment 8896972 [details] Bug 1388512 - Fix browser_menu_touch.js on Windows 10. https://reviewboard.mozilla.org/r/168276/#review173464 thanks!
Attachment #8896972 - Flags: review?(jmaher) → review+
Not sure why I ran a try for this.
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e68884b52cc0 Fix browser_menu_touch.js on Windows 10. r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: