[wpt-sync] Sync PR 60184 - Consume user activation in input.click() to show picker
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
111.53 KB,
text/plain
|
Details |
Sync web-platform-tests PR 60184 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60184
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Consume user activation in input.click() to show picker
Certain input types, like \<input type=color> and \<input type=file>, can
show their picker when calling input.click(). This already checks for
user activation, but does not actually consume it. input.showPicker(),
on the other hand, checks for and consumes user activation.Not consuming user activation can lead to issues where multiple pickers
can be opened at the same time, which leads to issues since there is
code which assumes that only one can be open at a time.This patch also upgrades a DCHECK for only one picker being open at a
time to a CHECK.Fixed: 502109002
Change-Id: I9842095f417cb470412bbbe5a7241600ce45e5ebReviewed-on: https://chromium-review.googlesource.com/7852999
WPT-Export-Revision: 20d80ca95bea49624aa2d6cbeff1f2bb7a3dca6e
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7f7751883b5a69cddf018c450c15f1e92ab5ede5
| Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 212 tests and 2 subtests
Status Summary
Firefox
OK : 109
PASS : 1[GitHub] 13[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 170[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 179[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] 192[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 193[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 163[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 193[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] 227[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 228[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
ERROR: 1
Chrome
PASS : 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•6 months ago
|
||
| bugherder | ||
Description
•