Bug 231845

Summary: REGRESSION (r283935): imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html is a flaky failure
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: DOMAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, ews-watchlist, graouts, ntim, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=203139
Bug Depends on:    
Bug Blocks: 203139    
Attachments:
Description Flags
Patch none

Description Ryan Haddad 2021-10-15 17:09:50 PDT
imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html has become a flaky failure after https://trac.webkit.org/changeset/283935/webkit

--- /Volumes/Data/worker/catalina-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host-expected.txt
+++ /Volumes/Data/worker/catalina-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host-actual.txt
@@ -1,9 +1,11 @@
 
 
-PASS :focus must not match a shadow host with open mode shadow root that does not contain the focused element
-PASS :focus must match a shadow host with open mode shadow root that contains the focused element
-PASS :focus must not match a shadow host with open mode shadow root contains the focused element assigned to a slot
-PASS :focus must not match a shadow host with closed mode shadow root that does not contain the focused element
-PASS :focus must match a shadow host with closed mode shadow root that contains the focused element
-PASS :focus must not match a shadow host with closed mode shadow root contains the focused element assigned to a slot
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT :focus must not match a shadow host with open mode shadow root that does not contain the focused element Test timed out
+NOTRUN :focus must match a shadow host with open mode shadow root that contains the focused element
+NOTRUN :focus must not match a shadow host with open mode shadow root contains the focused element assigned to a slot
+NOTRUN :focus must not match a shadow host with closed mode shadow root that does not contain the focused element
+NOTRUN :focus must match a shadow host with closed mode shadow root that contains the focused element
+NOTRUN :focus must not match a shadow host with closed mode shadow root contains the focused element assigned to a slot
+

https://build.webkit.org/results/Apple-Catalina-Release-WK1-Tests/r284277%20(6392)/results.html

https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fshadow-dom%2Ffocus%2Ffocus-pseudo-matches-on-shadow-host.html
Comment 1 Radar WebKit Bug Importer 2021-10-15 17:10:00 PDT
<rdar://problem/84322846>
Comment 2 Tim Nguyen (:ntim) 2021-10-18 00:11:33 PDT
Created attachment 441564 [details]
Patch
Comment 3 EWS 2021-10-18 03:11:56 PDT
Committed r284360 (243145@main): <https://commits.webkit.org/243145@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441564 [details].