<?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>305671</bug_id>
          
          <creation_ts>2026-01-16 15:29:11 -0800</creation_ts>
          <short_desc>[Tahoe Release] fast/animation/css-animation-throttling.html is a flakey text failure.</short_desc>
          <delta_ts>2026-04-18 01:38:00 -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>REOPENED</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="Diego De La Toba">d_delatoba</reporter>
          <assigned_to name="Antoine Quint">graouts</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>2172629</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-01-16 15:29:11 -0800</bug_when>
    <thetext>fast/animation/css-animation-throttling.html
is a flakey text failure on Tahoe MacOS release.


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fanimation%2Fcss-animation-throttling.html&amp;version_name=Tahoe&amp;architecture=arm64&amp;recent=false


TEXT DIFF:
--- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/fast/animation/css-animation-throttling-expected.txt
+++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/fast/animation/css-animation-throttling-actual.txt
@@ -4,11 +4,11 @@
 
 
 internals.setLowPowerModeEnabled(true)
-PASS internals.animationsInterval is throttled
+FAIL internals.animationsInterval should be 0.05333333333333334. Was 0.02666666666666667.
 internals.setLowPowerModeEnabled(false)
 PASS internals.animationsInterval is unthrottled
 internals.setAggressiveThermalMitigationEnabled(true)
-PASS internals.animationsInterval is throttled
+FAIL internals.animationsInterval should be 0.05333333333333334. Was 0.02666666666666667.
 internals.setAggressiveThermalMitigationEnabled(false)
 PASS internals.animationsInterval is unthrottled
 PASS successfullyParsed is true


TEXT URL:
https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/305729@main%20(1157)/fast/animation/css-animation-throttling-pretty-diff.html


STEPS TO REPRODUCE:
I was NOT able to reproduce this failure at macOS Tahoe ToT running the test as follows: 

run-webkit-tests fast/animation/css-animation-throttling.html --iterations 5000

I am going to mark expectations for this test as a pass failure while it is under investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172630</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-16 15:29:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/168329911&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172632</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-01-16 15:34:04 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56742</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172633</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-16 15:37:28 -0800</bug_when>
    <thetext>Test gardening commit 305739@main (f13ad2306836): &lt;https://commits.webkit.org/305739@main&gt;

Reviewed commits have been landed. Closing PR #56742 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201548</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-17 09:12:26 -0700</bug_when>
    <thetext>I can&apos;t reproduce this flakiness locally but inspecting the code I don&apos;t see any code that guarantees that neither low-power mode nor aggressive thermal mitigation mode are disabled prior to the test starting. Something else that appears to be unexpected (to me anyway) is that the intervals in question do not match either `FullSpeedAnimationInterval` (15ms) nor `HalfSpeedThrottlingAnimationInterval` (30ms), which would indicate that `nominalFramesPerSecond` passed to `Seconds preferredFrameInterval(OptionSet&lt;ThrottlingReason&gt;, std::optional&lt;FramesPerSecond&gt;, bool)` is set to something other than `FullSpeedFramesPerSecond`.

I&apos;ll add assertions that check that we&apos;re in the expected throttling state prior to the test starting to determine whether that is the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201553</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-17 09:23:51 -0700</bug_when>
    <thetext>We don&apos;t have existing APIs to query the throttling state, so let&apos;s just ensure it&apos;s set to be what we expect the default to be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201554</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-17 09:27:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62983</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201655</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-17 14:36:57 -0700</bug_when>
    <thetext>Committed 311474@main (cb5bd2d7b52c): &lt;https://commits.webkit.org/311474@main&gt;

Reviewed commits have been landed. Closing PR #62983 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201804</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-17 23:38:04 -0700</bug_when>
    <thetext>Bots indicate this is still an issue, reopening as such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201818</commentid>
    <comment_count>9</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-18 01:17:26 -0700</bug_when>
    <thetext>Interesting to see that the last failed run (https://build.webkit.org/#/builders/1716/builds/3268) shows other throttling-related tests failing:

  fast/animation/request-animation-frame-throttle-inside-overflow-scroll.html [ Failure ]
  fast/animation/request-animation-frame-throttle-subframe-display-none.html [ Failure ]
  fast/animation/request-animation-frame-throttle-subframe.html [ Timeout ]

I wonder if we get in a situation where the bot is actually legitimately entering one of those throttling reasons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201821</commentid>
    <comment_count>10</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-04-18 01:38:00 -0700</bug_when>
    <thetext>Hmm, looking at the other test failures (https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/311205@main%20(3268)/results.html) it would appear that throttling is unexpectedly set to `VisuallyIdle`. I expect this is the core issue, that throttling is set in this test due to other reasons.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>