<?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>286602</bug_id>
          
          <creation_ts>2025-01-27 17:03:46 -0800</creation_ts>
          <short_desc>[ macOS wk1 ] media/media-source/media-detachablemse-append.html is flakily failing.</short_desc>
          <delta_ts>2026-01-06 13:09:53 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <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>2090068</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-01-27 17:03:46 -0800</bug_when>
    <thetext>media/media-source/media-detachablemse-append.html 

This test is flakily failing on macOS wk1. 

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fmedia-source%2Fmedia-detachablemse-append.html

TEXT DIFF:

@@ -13,7 +13,6 @@
 EXPECTED (video.videoTracks.length &gt;= 1 == &apos;true&apos;) OK
 EXPECTED (video.audioTracks.length &gt;= 1 == &apos;true&apos;) OK
 RUN(source.endOfStream())
-EVENT(sourceended)
 RUN(readyState = video.readyState)
 EXPECTED (sourceBuffer.buffered.length == &apos;1&apos;) OK
 RUN(video.srcObject = null)
@@ -23,8 +22,9 @@
 EXPECTED (video.videoTracks.length == &apos;0&apos;) OK
 EXPECTED (video.audioTracks.length == &apos;0&apos;) OK
 RUN(video.srcObject = source)
+EVENT(sourceended)
+EVENT(sourceended)
 EVENT(sourceopen)
-EVENT(sourceended)
 EXPECTED (source.readyState == &apos;ended&apos;) OK
 EXPECTED (video.duration &gt; 0 == &apos;true&apos;) OK
 EVENT(loadedmetadata)

DIFF URL:

https://build.webkit.org/results/Apple-Sequoia-Release-WK1-Tests/289325@main%20(1576)/media/media-source/media-detachablemse-append-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this failure on MacOS Sequoia 15.2 (24C101 / arm64) at ToT with the following command:

run-webkit-tests media/media-source/media-detachablemse-append.html --iterations 300 -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090069</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-27 17:03:56 -0800</bug_when>
    <thetext>&lt;rdar://problem/143726328&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090308</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-28 16:42:23 -0800</bug_when>
    <thetext>Test gardening commit 289473@main (2ede95ab5ddf): &lt;https://commits.webkit.org/289473@main&gt;

Reviewed commits have been landed. Closing PR #39632 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169743</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-06 13:09:53 -0800</bug_when>
    <thetext>Closing WebKitLegacy testing bugs as we cut-back WebKitLegacy testing. See https://bugs.webkit.org/show_bug.cgi?id=304436.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>