<?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>308667</bug_id>
          
          <creation_ts>2026-02-25 13:21:43 -0800</creation_ts>
          <short_desc>[iOS] webanimations/threaded-animations/scroll-timeline-root-scroller.html is a flaky text failure</short_desc>
          <delta_ts>2026-03-13 16:31:53 -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>Animations</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>graouts</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>2184926</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-02-25 13:21:43 -0800</bug_when>
    <thetext>webanimations/threaded-animations/scroll-timeline-root-scroller.html is a flaky text failure on both release and debug however, release flakes do not show on bots and are extremely flaky.


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=webanimations%2Fthreaded-animations%2Fscroll-timeline-root-scroller.html&amp;platform=ios&amp;recent=false&amp;style=debug&amp;recent=false


DIFF:
https://build.webkit.org/results/Apple-iOS-26-Simulator-Debug-WK2-Tests/308173%40main%20(779)/webanimations/threaded-animations/scroll-timeline-root-scroller-pretty-diff.html


DIFF URL:
--- /Volumes/Data/worker/Apple-iOS-26-Simulator-Debug-WK2-Tests/build/layout-test-results/webanimations/threaded-animations/scroll-timeline-root-scroller-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-26-Simulator-Debug-WK2-Tests/build/layout-test-results/webanimations/threaded-animations/scroll-timeline-root-scroller-actual.txt
@@ -1,3 +1,3 @@
 
-PASS The timeline current time updates as its source is scrolled with a root scroller
+FAIL The timeline current time updates as its source is scrolled with a root scroller assert_equals: After scrolling to 700, the timeline time is 50.00% expected &quot;50.00%&quot; but got &quot;0.00%&quot;
 

REPRODUCTION: 
I was able to reproduce this on iOS 26.2 debug and release ToT with the following:

Release: 
run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=2000 --force -f --clobber-old-results --ios-simulator --release webanimations/threaded-animations/scroll-timeline-root-scroller.html --udid &lt; 3 udids &gt;

Debug: 
run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=1000 --force --clobber-old-results --ios-simulator --debug webanimations/threaded-animations/scroll-timeline-root-scroller.html

I am going to mark expectations as pass fail while this pends investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184927</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-02-25 13:22:06 -0800</bug_when>
    <thetext>&lt;rdar://problem/171197721&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184930</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-02-25 13:25:50 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59446</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184931</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-25 13:27:43 -0800</bug_when>
    <thetext>Test gardening commit 308231@main (0733cc3c8b6c): &lt;https://commits.webkit.org/308231@main&gt;

Reviewed commits have been landed. Closing PR #59446 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184995</commentid>
    <comment_count>4</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-02-25 16:36:45 -0800</bug_when>
    <thetext>This could be a test issue where one UIHelper.renderingUpdate() is not sufficient since it waits for a local animation frame + setTimeout in the web process but may not guarantee the UI process has handled the scroll thus resulting in the test not receiving a scroll. This is also supported by the fact that this is much flakier when running at high cpu usage and debug. 

Adding another UIHelper.renderingUpdate() allows the test to pass all iterations - even in parallel so I am going to put this fix up as a pr. But I do think it&apos;s worth mentioning this could be masking an actual WebKit issue where timeline updates are not happening when they should.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2185002</commentid>
    <comment_count>5</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-02-25 16:46:10 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59461</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190158</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-13 16:31:51 -0700</bug_when>
    <thetext>Committed 309241@main (f8885281fecb): &lt;https://commits.webkit.org/309241@main&gt;

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

    </bug>

</bugzilla>