Closed Bug 2092410 Opened 11 days ago Closed 8 days ago

[wpt-sync] Sync PR 64558 - Deflake and fix keypress-not-fired-for-modifier-shortcuts.html

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mustaq Ahmed <mustaq@google.com> wrote:

Deflake and fix keypress-not-fired-for-modifier-shortcuts.html

  • Added a sentinel keypress to fix the test end condition. A wrong
    end condition caused follow-up keyup events from one promise_test to
    leak into another, making the test flaky on multiple platforms.

  • Corrected the shortcut key to test: exactly one of Control-V and
    Meta-V is a platform-specific shortcut. The test tried both but didn't
    fail because of the problem above.

Fixed: 575528279
Change-Id: Icd27b3808faaec74a7f0018746a2702dd28a367c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8695895
Commit-Queue: Mustaq Ahmed \<mustaq@chromium.org>
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1732939}

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 6 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 6[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[GitHub] 16[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS : 2

Safari

TIMEOUT: 2
NOTRUN : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4b240a64df7f https://hg.mozilla.org/integration/autoland/rev/27e3c84ae2bd [wpt PR 64558] - Deflake and fix keypress-not-fired-for-modifier-shortcuts.html, a=testonly
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.