TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus is a constant failure on macOS Ventura. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus TEST RUN URL: https://build.webkit.org/#/builders/707/builds/213 FAILURE TEXT: TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus 2022-11-14 17:21:09.009 com.apple.WebKit.WebContent.Development[59973:79969044] ApplePersistence=NO 2022-11-14 17:21:09.103 com.apple.WebKit.WebContent.Development[59974:79969056] ApplePersistence=NO /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3011 Value of: [webView1 hostWindow].isVisible Actual: true Expected: false /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3012 Value of: [webView2 hostWindow].isVisible Actual: true Expected: false /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3020 Value of: [webView1 hostWindow].isVisible Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3022 Value of: [webView1 hostWindow].isMiniaturized Actual: true Expected: false /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3043 Value of: [webView1 hostWindow].isMiniaturized Actual: true Expected: false
<rdar://problem/102346207>
I have been able to reproduce this failure very easily on Ventura Debug ToT running the test as follows: run-api-tests TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus
Starting on Youenn who introduced the test here: https://commits.webkit.org/248909@main
Pull request: https://github.com/WebKit/WebKit/pull/6515
Committed 256705@main (2150c956beac): <https://commits.webkit.org/256705@main> Reviewed commits have been landed. Closing PR #6515 and removing active labels.
Re-opening for pull request https://github.com/WebKit/WebKit/pull/6544
Committed 256741@main (a2054f59c10a): <https://commits.webkit.org/256741@main> Reviewed commits have been landed. Closing PR #6544 and removing active labels.