<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>247931</bug_id>
          
          <creation_ts>2022-11-14 18:13:58 -0800</creation_ts>
          <short_desc>REGRESSION (Ventura): [ macOS ] TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt is a consistent failure</short_desc>
          <delta_ts>2022-11-18 11:21:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247930</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jenner</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1912487</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-11-14 18:13:58 -0800</bug_when>
    <thetext>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&amp;test=TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt&amp;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: &quot;&quot;
          @&quot;Mock screen device 1&quot;
            Which is: &quot;Mock screen device 1&quot;
        
        
        /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: &quot;&quot;
          @&quot;Mock window device 1&quot;
            Which is: &quot;Mock window device 1&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912489</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-14 18:14:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/102346840&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912669</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-11-15 11:15:39 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912895</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2022-11-16 09:14:35 -0800</bug_when>
    <thetext>@youenn fixed at least part of this with https://github.com/WebKit/WebKit/pull/6544</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1913507</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2022-11-18 11:21:09 -0800</bug_when>
    <thetext>(In reply to Eric Carlson from comment #3)
&gt; @youenn fixed at least part of this with
&gt; https://github.com/WebKit/WebKit/pull/6544

I don&apos;t see any failures after 256741@main. Closing this as Configuration Changed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>