<?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>188924</bug_id>
          
          <creation_ts>2018-08-24 11:59:31 -0700</creation_ts>
          <short_desc>REGRESSION: [macOS WK2] Layout Test fast/mediastream/device-change-event-2.html is a flaky timeout</short_desc>
          <delta_ts>2023-09-08 15:05:01 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jacob_uphoff</cc>
    
    <cc>realdawei</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1453517</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-08-24 11:59:31 -0700</bug_when>
    <thetext>The following layout test is flaky on macOS Debug WK2

fast/mediastream/device-change-event-2.html

Probable cause:

Unknown, this started very recently.

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=fast%2Fmediastream%2Fdevice-change-event-2.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/device-change-event-2-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/device-change-event-2-actual.txt
@@ -1,6 +1,9 @@
+CONSOLE MESSAGE: line 2451: Error: assert_true: devicechange should only fire when the document is focused and active expected true got false
+CONSOLE MESSAGE: line 78: navigator.mediaDevices.ondevicechange took too long
+CONSOLE MESSAGE: line 41: event 1 took too long
+CONSOLE MESSAGE: line 53: event 2 took too long
+#PID UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 37639)
+FAIL: Timed out waiting for notifyDone to be called
 
-PASS &apos;devicechange&apos; event fired when device list changes 
-PASS &apos;devicechange&apos; events fired quickly are coalesced 
-PASS &apos;devicechange&apos; event is not fired when the document doesn&apos;t has focus or permission to capture 
-PASS &apos;devicechange&apos; event is fired when the document doesn&apos;t has focus but has permission to capture 
-
+#EOF
+#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453518</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-08-24 12:00:37 -0700</bug_when>
    <thetext>This test was recently modified as part of https://trac.webkit.org/changeset/235086</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658855</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-03 13:02:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/63940720&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658857</commentid>
    <comment_count>3</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-06-03 13:13:47 -0700</bug_when>
    <thetext>I can also see timeouts on release as well</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658859</commentid>
    <comment_count>4</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-06-03 13:17:19 -0700</bug_when>
    <thetext>Set expectations here: https://trac.webkit.org/changeset/262512/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658860</commentid>
    <comment_count>5</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-06-03 13:18:11 -0700</bug_when>
    <thetext>New history link:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fmediastream%2Fdevice-change-event-2.html&amp;platform=mac&amp;limit=50000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976530</commentid>
    <comment_count>6</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-09-08 15:05:01 -0700</bug_when>
    <thetext>(In reply to Jacob Uphoff from comment #4)
&gt; Set expectations here: https://trac.webkit.org/changeset/262512/webkit

Cannonical link: https://commits.webkit.org/225536@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>