Description: TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt The first failure I saw on the dashboard was on 10/27/2022 at 256072@main. Reproduction steps: Command: run-api-tests --debug TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt&limit=50000 Result: TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt 2022-11-14 16:21:39.055 com.apple.WebKit.WebContent.Development[57650:50495076] ApplePersistence=NO LEAK: 1 WebProcessPool LEAK: 1 WebPageProxy /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:154 Value of: hasSleepDisabler Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:169 Expected equality of these values: label Which is: "" @"Mock screen device 1" Which is: "Mock screen device 1" /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:200 Value of: [webView _displayCaptureState] == WKDisplayCaptureStateNone Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:201 Value of: [observer displayCaptureSurfaces] == WKDisplayCaptureSurfaceNone Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:202 Value of: [webView _displayCaptureState] == WKDisplayCaptureStateNone Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:203 Value of: [observer displayCaptureSurfaces] == WKDisplayCaptureSurfaceNone Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:213 Expected equality of these values: label Which is: "" @"Mock window device 1" Which is: "Mock window device 1"
<rdar://problem/102346840>
Karl and I filed the same bug around the same time. I duped mine to this bug. But I wanted to add that there are reproduction steps.. I have been able to reproduce this at Ventura Debug ToT running the test as follows: run-api-tests TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt This appears to have been failing since bring up of Ventura on OpenSource.
@youenn fixed at least part of this with https://github.com/WebKit/WebKit/pull/6544
(In reply to Eric Carlson from comment #3) > @youenn fixed at least part of this with > https://github.com/WebKit/WebKit/pull/6544 I don't see any failures after 256741@main. Closing this as Configuration Changed.