[wpt-sync] Sync PR 64321 - script: Remove the `<input type=file>` button activation workaround
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64321 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64321
Details from upstream follow.
Martin Robinson <mrobinson@igalia.com> wrote:
script: Remove the
<input type=file>button activation workaroundThis workaround was causing a panic when clicking on a disabled file
input. Instead of manually triggering the activation behavior on the
<input>when the button is clicked, mark the shadow tree button
non-activable. This causes the activation to happen on an ancestor. In
addition, bring a couple of these methods closer to the specification
text.This fixes a panic when clicking on a disabled
<input type=file>.Testing: This change adds a WPT crash test.
Reviewed in servo/servo#49379
| Assignee | ||
Updated•18 days ago
|
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Comment 1•16 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116176
| Assignee | ||
Comment 2•14 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 186 tests
Status Summary
Firefox
OK : 146
PASS: 1[GitHub] 12[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1995[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 2021[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] 2022[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 26
Chrome
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/forms/the-input-element/image-click-form-data.html [wpt.fyi]:
SKIP - /html/semantics/forms/the-input-element/click-user-gesture.html [wpt.fyi]
- input[type=date] click() consumes user activation:
FAIL - input[type=datetime-local] click() consumes user activation:
FAIL - input[type=month] click() consumes user activation:
FAIL - input[type=time] click() consumes user activation:
FAIL - input[type=week] click() consumes user activation:
FAIL
- input[type=date] click() consumes user activation:
- /html/semantics/forms/the-input-element/color.window.html [wpt.fyi]
- Display P3 colors can be out-of-bounds:
FAIL
- Display P3 colors can be out-of-bounds:
- /html/semantics/forms/the-input-element/date-readonly-keyboard.html [wpt.fyi]
- Readonly date input should not change value via keyboard interaction:
FAIL
- Readonly date input should not change value via keyboard interaction:
- /html/semantics/forms/the-input-element/datetime-local-trailing-zeros.html [wpt.fyi]
- Verifies that trailing zeros in the milliseconds portion of the date strings are removed.:
FAIL
- Verifies that trailing zeros in the milliseconds portion of the date strings are removed.:
- /html/semantics/forms/the-input-element/email-value-idn.html [wpt.fyi]
- IDN domain in parser-created email value attribute is converted to ASCII:
FAIL - IDN domain in dynamically-set email value attribute is converted to ASCII:
FAIL - IDN domains in multiple email value attribute are converted to ASCII:
FAIL - IDN domain is converted when type changes to email:
FAIL
- IDN domain in parser-created email value attribute is converted to ASCII:
- /html/semantics/forms/the-input-element/image-width-height.html [wpt.fyi]
- width and height attribute value "+10" when not rendered:
FAIL - width and height attribute value "50%" when not rendered:
FAIL - width and height attribute value "1.9" when not rendered:
FAIL - width and height attribute value "0.5" when not rendered:
FAIL - width and height attribute value "-0" when not rendered:
FAIL - width and height attribute value "-0.5" when not rendered:
FAIL
- width and height attribute value "+10" when not rendered:
- /html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window.html [wpt.fyi]
- switch IDL attribute, setter:
FAIL - switch IDL attribute, getter:
FAIL - Cloning a switch control:
FAIL
- switch IDL attribute, setter:
- /html/semantics/forms/the-input-element/number-invalid-scientific-key-events.html [wpt.fyi]
- Reject multiple signs after 'e' (-):
FAIL - Reject multiple signs after 'e' (+):
FAIL - Leading '+' with existing 'e':
FAIL
- Reject multiple signs after 'e' (-):
- /html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.https.html [wpt.fyi]
- Verifies that form restoration does not fire input or change events for <input type=range>.:
FAIL - Verifies that form restoration does not fire input or change events for <input type=text>.:
FAIL
- Verifies that form restoration does not fire input or change events for <input type=range>.:
- /html/semantics/forms/the-input-element/type-change-to-same-type.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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]
Tests Disabled in Gecko Infrastructure
- /html/semantics/forms/the-input-element/image-click-form-data.html [wpt.fyi]:
SKIP - /html/semantics/forms/the-input-element/type-change-to-same-type.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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]
Comment 4•9 days ago
|
||
| bugherder | ||
Description
•