<?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>312949</bug_id>
          
          <creation_ts>2026-04-21 19:10:25 -0700</creation_ts>
          <short_desc>[iOS] fast/mediasession/metadata/artworkdownload.html is a flaky text failure</short_desc>
          <delta_ts>2026-04-23 13:24:36 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Diego De La Toba">d_delatoba</reporter>
          <assigned_to name="Diego De La Toba">d_delatoba</assigned_to>
          <cc>annevk</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>sirhc.schroeder</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>2202993</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-21 19:10:25 -0700</bug_when>
    <thetext>fast/mediasession/metadata/artworkdownload.html is a flaky text failure on iOS.


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fmediasession%2Fmetadata%2Fartworkdownload.html


DIFF:
--- /Volumes/Data/worker/Apple-iOS-26-Simulator-Release-WK2-Tests/build/layout-test-results/fast/mediasession/metadata/artworkdownload-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-26-Simulator-Release-WK2-Tests/build/layout-test-results/fast/mediasession/metadata/artworkdownload-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: A VideoFrame was destroyed without having been closed explicitly
 
 PASS ensure loading artwork image method operates properly
 PASS ensure loading invalid artwork causes a failure


DIFF URL:
https://build.webkit.org/results/Apple-iOS-26-Simulator-Release-WK2-Tests/311710%40main%20(2692)/fast/mediasession/metadata/artworkdownload-pretty-diff.html


REPRODUCTION:
I was able to reproduce this on iOS 26.4 release ToT with the following:

run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=143 --force --ios-simulator --release fast/mediasession/metadata/artworkdownload.html

I am going to mark expectations as pass fail while this pends investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2202994</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-21 19:10:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/175302325&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2202997</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-21 19:14:55 -0700</bug_when>
    <thetext>Test gardening pull request: https://github.com/WebKit/WebKit/pull/63289</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203000</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-21 19:16:46 -0700</bug_when>
    <thetext>Test gardening commit 311741@main (f6c6dec54ba9): &lt;https://commits.webkit.org/311741@main&gt;

Reviewed commits have been landed. Closing PR #63289 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203261</commentid>
    <comment_count>4</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-22 12:13:28 -0700</bug_when>
    <thetext>The test gets a `VideoFrame` from `loadArtworkImage()` but never calls `.close()` on it. This causes the console warning but all three tests still pass. Looks like we just need to close the VideoFrame after checking its properties. This can be in the test itself but should arguably be cleaned up in internals resetToConsistentState as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203268</commentid>
    <comment_count>5</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-22 12:31:47 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/63348</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203836</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-23 13:24:34 -0700</bug_when>
    <thetext>Committed 311886@main (f3607e114d57): &lt;https://commits.webkit.org/311886@main&gt;

Reviewed commits have been landed. Closing PR #63348 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>