Closed Bug 1440918 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 9655 - Clicking on element before sending special keys in WebDriver tests

Categories

(Testing :: geckodriver, enhancement, P3)

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 9655 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/9655
Details from upstream follow.

Jim Evans wrote:
>  Clicking on element before sending special keys in WebDriver tests
>  
>  This commit is, admittedly, to work around a browser-specific (or perhaps
>  an operating-system-specific) issue. When the Alt key is pressed on
>  Windows, the system menu bar is activated. This causes the page in at
>  least one browser to lose focus, and the key reporting element will no
>  longer receive keydown and keyup events until focus is restored. This
>  causes failures in succeeding tests.
Component: web-platform-tests → geckodriver
Ran 1 tests and 70 subtests
OK     : 1
PASS   : 70
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d57a207ac951
[wpt PR 9655] - Clicking on element before sending special keys in WebDriver tests, a=testonly
https://hg.mozilla.org/mozilla-central/rev/d57a207ac951
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.