Bug 259132 - [ New Test ] (264228@main): [ iOS ] imported/w3c/web-platform-tests/html/semantics/disabled-elements/disabled-event-dispatch.tentative.html is a consistent failure
Summary: [ New Test ] (264228@main): [ iOS ] imported/w3c/web-platform-tests/html/sema...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-11 16:47 PDT by Karl Rackler
Modified: 2023-12-31 05:38 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2023-07-11 16:47:22 PDT
Description:
imported/w3c/web-platform-tests/html/semantics/disabled-elements/disabled-event-dispatch.tentative.html

The test was part of a WPT import from upstream at 264228@main and has been a consistent failure since then.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fdisabled-elements%2Fdisabled-event-dispatch.tentative.html&platform=ios

Diff:
--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/disabled-elements/disabled-event-dispatch.tentative-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/disabled-elements/disabled-event-dispatch.tentative-actual.txt
@@ -8,14 +8,14 @@
 PASS Testing mouseup events when clicking child of disabled my-control.
 PASS Testing mouseup events when clicking disabled button.
 PASS Testing mouseup events when clicking disabled my-control.
-PASS Testing pointerdown events when clicking child of disabled button.
-PASS Testing pointerdown events when clicking child of disabled my-control.
-PASS Testing pointerdown events when clicking disabled button.
-PASS Testing pointerdown events when clicking disabled my-control.
-PASS Testing pointerup events when clicking child of disabled button.
-PASS Testing pointerup events when clicking child of disabled my-control.
-PASS Testing pointerup events when clicking disabled button.
-PASS Testing pointerup events when clicking disabled my-control.
+FAIL Testing pointerdown events when clicking child of disabled button. assert_equals: parent element received pointerdown events expected true but got false
+FAIL Testing pointerdown events when clicking child of disabled my-control. assert_equals: parent element received pointerdown events expected true but got false
+FAIL Testing pointerdown events when clicking disabled button. assert_equals: parent element received pointerdown events expected true but got false
+FAIL Testing pointerdown events when clicking disabled my-control. assert_equals: parent element received pointerdown events expected true but got false
+FAIL Testing pointerup events when clicking child of disabled button. assert_equals: parent element received pointerup events expected true but got false
+FAIL Testing pointerup events when clicking child of disabled my-control. assert_equals: parent element received pointerup events expected true but got false
+FAIL Testing pointerup events when clicking disabled button. assert_equals: parent element received pointerup events expected true but got false
+FAIL Testing pointerup events when clicking disabled my-control. assert_equals: parent element received pointerup events expected true but got false
 PASS Testing click events when clicking child of disabled button.
 PASS Testing click events when clicking child of disabled my-control.
 PASS Testing click events when clicking disabled button.
Comment 1 Radar WebKit Bug Importer 2023-07-11 16:47:58 PDT
<rdar://problem/112109419>
Comment 2 Karl Rackler 2023-07-11 16:52:58 PDT
I have marked this test as a consistent failure while this issue is investigated.
Comment 3 EWS 2023-07-11 17:03:16 PDT
Test gardening commit 265972@main (420af6cc91a5): <https://commits.webkit.org/265972@main>

Reviewed commits have been landed. Closing PR #15760 and removing active labels.
Comment 4 EWS 2023-12-19 15:19:30 PST
Test gardening commit 272305@main (fe76e3a49854): <https://commits.webkit.org/272305@main>

Reviewed commits have been landed. Closing PR #22068 and removing active labels.
Comment 5 Abrar Rahman Protyasha 2023-12-28 13:45:08 PST
This bug report covers both valid test failures and (one) invalid failure. The invalid failure stems from the fact that we never dispatch double click events on iOS.

The valid test failures have been addressed by 264098@main, so all that remains here is to clean up the test expectations.
Comment 6 Abrar Rahman Protyasha 2023-12-28 13:58:37 PST
Pull request: https://github.com/WebKit/WebKit/pull/22263
Comment 7 EWS 2023-12-31 05:38:18 PST
Committed 272540@main (7d0d194850b8): <https://commits.webkit.org/272540@main>

Reviewed commits have been landed. Closing PR #22263 and removing active labels.