[wpt-sync] Sync PR 45187 - Revert "[Invokers] Only dispatch invoke for built-ins or actions containing '-'"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox126 fixed)
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45187 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45187
Details from upstream follow.
Rakina Zata Amni <rakina@chromium.org> wrote:
Revert "[Invokers] Only dispatch invoke for built-ins or actions containing '-'"
This reverts commit adedac451fc3c209790b3e6cff4aa32b88cc493b.
Reason for revert: Modified wpt fails on mac: https://ci.chromium.org/ui/p/chromium/builders/ci/Mac11%20Tests/26150/blamelist
Original change's description:
[Invokers] Only dispatch invoke for built-ins or actions containing '-'
This change refactors the
HandleInvokeInternalcalls to use an enum
class of known attribute values including akCustomkey which can determine if the invoke action meets the criteria for being
a "custom" action - that is it includes a dash (see
https://github.com/whatwg/html/pull/9841/commits/b40ba866cc21553f63d8f6244becbdbc38176310).This also updates the tests to reflect this; only actions with a
-, or
otherwise known actions, will dispatch an event. All other actions do
not, and must be manually dispatched. This does not preclude web authors
from manually dispatching said events.Bug: 40947660
Change-Id: I0394de0b949fa939c1614d59ca914b5725422cbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5366502
Reviewed-by: Luke \<lwarlow@igalia.com>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Luke \<lwarlow@igalia.com>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1274614}Bug: 40947660
Change-Id: Icc47881303d50345ecf8faf7bb2f9a5d68eaf6ddReviewed-on: https://chromium-review.googlesource.com/5377231
WPT-Export-Revision: 21d04132eb1d5ee2e8cb932d5d52850fe75fd4ef
| Assignee | ||
Comment 1•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK : 1
PASS: 2
FAIL: 4
Chrome
OK : 1
PASS: 6
Safari
OK : 1
PASS: 2
FAIL: 4
Links
Details
New Tests That Don't Pass
- /html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html [wpt.fyi]
- event dispatches on click:
FAIL(Chrome:PASS, Safari:FAIL) - event action is set to invokeAction:
FAIL(Chrome:PASS, Safari:FAIL) - event action is set to invokeaction attribute:
FAIL(Chrome:PASS, Safari:FAIL) - event dispatches if invokee is non-HTML Element:
FAIL(Chrome:PASS, Safari:FAIL)
- event dispatches on click:
Comment 3•2 years ago
|
||
| bugherder | ||
Description
•