Bug 263421 - [ Ventura+ ] TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus is a flaky failure
Summary: [ Ventura+ ] TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus is a ...
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: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-19 17:01 PDT by Karl Rackler
Modified: 2023-10-23 09:17 PDT (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-10-19 17:01:27 PDT
Description:
TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus

Is a flaky failure on Sonoma ToT and since bring-up.  This is also a flaky failure on Ventura going back on the dashboard to approximately 08/29/23 at 267407@main, although I cannot see how that commit is related.

This issue can reproduced on Sonoma using the command: 
run-api-tests --debug --iterations=1 TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus

History:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocusRequiresUserGesture&limit=5500

Result:

Failed
    TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus
        LEAK: 1 WebProcessPool
        LEAK: 2 WebPageProxy
        
        /Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:3258
        Value of: [webView2 hostWindow].isMiniaturized
          Actual: true
        Expected: false
Comment 1 Radar WebKit Bug Importer 2023-10-19 17:01:46 PDT
<rdar://problem/117233556>
Comment 2 Chris Dumez 2023-10-23 07:22:21 PDT
The flakiness dashboard link should be this one I believe:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ServiceWorker.ServiceWorkerWindowClientFocus&limit=5500
Comment 3 Chris Dumez 2023-10-23 07:55:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19414
Comment 4 EWS 2023-10-23 09:17:49 PDT
Committed 269649@main (e8764c09d722): <https://commits.webkit.org/269649@main>

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