Closed Bug 2025077 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 58647 - Gate picker on trusted click

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

SharanRP <z8903830@gmail.com> wrote:

Gate picker on trusted click

Fixes: #<!-- nolink -->43360
This PR makes <select> behave like other browsers by only opening the picker for trusted user clicks, and adds a regression test to ensure synthetic .click()/dispatchEvent('click') won’t open it.

Reviewed in servo/servo#43485

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 193 tests ## Status Summary ### Firefox `OK` : 1[GitHub] 99[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-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS`: 1[GitHub] 12[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 161[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 165[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] 182[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `FAIL`: 155[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 185[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] 215[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] ### Chrome `OK` : 1 `PASS`: 1 ### Safari `OK` : 1 `PASS`: 1 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=f23ac3ecf97b34851b8e07a1c03724dc2e1df77f) [GitHub PR Head](https://wpt.fyi/results/?sha=b941501e0bb64dfe473c92abfaa4c99240ce2db9&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=b941501e0bb64dfe473c92abfaa4c99240ce2db9&label=pr_base) ## Details (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: