Bug 247931 - REGRESSION (Ventura): [ macOS ] TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt is a consistent failure
Summary: REGRESSION (Ventura): [ macOS ] TestWebKitAPI.WebKit2.GetDisplayMediaWindowAn...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-14 18:13 PST by Karl Rackler
Modified: 2022-11-18 11:21 PST (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 2022-11-14 18:13:58 PST
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"
Comment 1 Radar WebKit Bug Importer 2022-11-14 18:14:16 PST
<rdar://problem/102346840>
Comment 2 Robert Jenner 2022-11-15 11:15:39 PST
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.
Comment 3 Eric Carlson 2022-11-16 09:14:35 PST
@youenn fixed at least part of this with https://github.com/WebKit/WebKit/pull/6544
Comment 4 Eric Carlson 2022-11-18 11:21:09 PST
(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.