<?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>247930</bug_id>
          
          <creation_ts>2022-11-14 18:12:10 -0800</creation_ts>
          <short_desc>New Test(246423@main): TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt is a constant failure</short_desc>
          <delta_ts>2022-11-15 11:14:05 -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>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247931</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>eric.carlson</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>1912485</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-11-14 18:12:10 -0800</bug_when>
    <thetext>TestWebKitAPI.WebKit2.GetDisplayMediaWindowAndScreenPrompt 

is a constantly failing API-test on macOS Ventura.

HISTORY:
https://results.webkit.org/?suite=api-tests&amp;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: &quot;&quot;
          @&quot;Mock screen device 1&quot;
            Which is: &quot;Mock screen device 1&quot;


        /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: &quot;&quot;
          @&quot;Mock window device 1&quot;
            Which is: &quot;Mock window device 1&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912486</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-14 18:12:38 -0800</bug_when>
    <thetext>&lt;rdar://problem/102346812&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912488</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-11-14 18:14:06 -0800</bug_when>
    <thetext>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>1912493</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-11-14 18:17:07 -0800</bug_when>
    <thetext>Starting on Eric who introduced the test here:

https://commits.webkit.org/246423@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>