Bug 247930

Summary: New Test(246423@main): TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt is a constant failure
Product: WebKit Reporter: Robert Jenner <jenner>
Component: New BugsAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED INVALID    
Severity: Normal CC: eric.carlson, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=247931

Robert Jenner
Reported 2022-11-14 18:12:10 PST
TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt is a constantly failing API-test on macOS Ventura. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt TEST RUN URL: https://build.webkit.org/#/builders/707/builds/213 FAILURE TEXT: TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt 2022-11-14 18:10:17.165 com.apple.WebKit.WebContent.Development[6242:314658] ApplePersistence=NO LEAK: 1 WebProcessPool LEAK: 1 WebPageProxy /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:154 Value of: hasSleepDisabler Actual: false Expected: true /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/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/trunk-rome-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:200 Value of: [webView _displayCaptureState] == WKDisplayCaptureStateNone Actual: false Expected: true /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:201 Value of: [observer displayCaptureSurfaces] == WKDisplayCaptureSurfaceNone Actual: false Expected: true /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:202 Value of: [webView _displayCaptureState] == WKDisplayCaptureStateNone Actual: false Expected: true /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:203 Value of: [observer displayCaptureSurfaces] == WKDisplayCaptureSurfaceNone Actual: false Expected: true /Volumes/Data/worker/trunk-rome-debug-archive/build/OpenSource/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"
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-14 18:12:38 PST
Robert Jenner
Comment 2 2022-11-14 18:14:06 PST
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.
Robert Jenner
Comment 3 2022-11-14 18:17:07 PST
Starting on Eric who introduced the test here: https://commits.webkit.org/246423@main
Note You need to log in before you can comment on or make changes to this bug.