<?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>184609</bug_id>
          
          <creation_ts>2018-04-13 16:29:50 -0700</creation_ts>
          <short_desc>REGRESSION: Layout Test platform/mac/media/audio-session-category-video-track-change.html is a flaky failure</short_desc>
          <delta_ts>2026-01-12 09:09:30 -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>Media</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>eric.carlson</cc>
    
    <cc>graouts</cc>
    
    <cc>jer.noble</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1414531</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-04-13 16:29:50 -0700</bug_when>
    <thetext>The following layout test is flaky on macOS

platform/mac/media/audio-session-category-video-track-change.html

Probable cause:

Unknown, this test became flaky within the last 7 days. The first failure on the dashboard blames https://trac.webkit.org/changeset/230365/webkit

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=platform%2Fmac%2Fmedia%2Faudio-session-category-video-track-change.html

--- /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/platform/mac/media/audio-session-category-video-track-change-expected.txt
+++ /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/platform/mac/media/audio-session-category-video-track-change-actual.txt
@@ -2,16 +2,16 @@
 RUN(internals.settings.setShouldManageAudioSessionCategory(true))
 RUN(video.src = findMediaFile(&quot;video&quot;, &quot;../../../media/content/test&quot;))
 EVENT(canplay)
-EXPECTED (internals.audioSessionCategory() == &apos;None&apos;) OK
+EXPECTED (internals.audioSessionCategory() == &apos;None&apos;), OBSERVED &apos;AmbientSound&apos; FAIL
 RUN(video.audioTracks[0].enabled = false)
 EVENT(change)
-EXPECTED (internals.audioSessionCategory() == &apos;None&apos;) OK
+EXPECTED (internals.audioSessionCategory() == &apos;None&apos;), OBSERVED &apos;AmbientSound&apos; FAIL
 RUN(video.muted = false)
 EVENT(volumechange)
-EXPECTED (internals.audioSessionCategory() == &apos;None&apos;) OK
+EXPECTED (internals.audioSessionCategory() == &apos;None&apos;), OBSERVED &apos;AmbientSound&apos; FAIL
 RUN(video.play())
 EVENT(playing)
-EXPECTED (internals.audioSessionCategory() == &apos;None&apos;) OK
+EXPECTED (internals.audioSessionCategory() == &apos;None&apos;), OBSERVED &apos;AmbientSound&apos; FAIL
 RUN(video.audioTracks[0].enabled = true)
 EVENT(change)
 EXPECTED (internals.audioSessionCategory() == &apos;MediaPlayback&apos;) OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1419426</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-05-01 14:33:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/39878966&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1422428</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-05-09 13:00:38 -0700</bug_when>
    <thetext>Marked test as flaky in https://trac.webkit.org/changeset/231462/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1432069</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-06-11 14:56:15 -0700</bug_when>
    <thetext>The test is still flaky, with most failures occurring on High Sierra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1449288</commentid>
    <comment_count>4</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2018-08-10 09:44:52 -0700</bug_when>
    <thetext>This test has changed from being a constant failure to having flakey Crashes. The test started passing at https://trac.webkit.org/changeset/234463/webkit. 

Investigating Crashes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1449395</commentid>
    <comment_count>5</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2018-08-10 15:21:14 -0700</bug_when>
    <thetext>Crash points to this assert in FrameView.cpp:602:

    if (!RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled())
        ASSERT(!frame().animation().hasAnimations());

Doesn&apos;t seem related to the audio session category change; it may have some strange interaction with modern media controls (as maybe they rely on web animation).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>