<?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>191007</bug_id>
          
          <creation_ts>2018-10-27 18:42:01 -0700</creation_ts>
          <short_desc>REGRESSION(r236465): [GTK] http/tests/media/media-stream/get-display-media-prompt.html is flaky timeout</short_desc>
          <delta_ts>2021-07-11 08:45:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210926</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>dpino</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1472783</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-10-27 18:42:01 -0700</bug_when>
    <thetext>Layout test http/tests/media/media-stream/get-display-media-prompt.html has been a flaky timeout since r236465 &quot;[MediaStream] Update constraints supported by getDisplayMedia&quot;. It used to always pass, and rarely still does, but usually times out:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-actual.txt
@@ -1,55 +1,2 @@
-Test basic getDisplayMedia prompting behavior
+FAIL: Timed out waiting for notifyDone to be called
 
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-
-** Request an audio-only stream, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is &quot;TypeError&quot;
-
-** Request an video-only stream, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 1
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with audio and video, the user should be prompted but no audio track should be created **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with &apos;max&apos; constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is &quot;TypeError&quot;
-
-** Request a stream with &apos;min&apos; constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is &quot;TypeError&quot;
-
-** Request a stream with &apos;advanced&apos; constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is &quot;TypeError&quot;
-
-** Request a stream with valid constraints, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 3
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with an exact audio constraint, it should be ignored **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 4
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614995</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-02-05 04:06:36 -0800</bug_when>
    <thetext>Test has been reporting Crash since r253368 ([GStreamer][MediaStream] Fix GStreamer capturer mock).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1776213</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-07-11 08:45:51 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 210926 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>