<?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>191187</bug_id>
          
          <creation_ts>2018-11-02 04:48:20 -0700</creation_ts>
          <short_desc>[web-animations] web-animations/timing-model/timelines/update-and-send-events.html is a unique failure</short_desc>
          <delta_ts>2022-11-16 22:17:18 -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>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, WebExposed, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1474452</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2018-11-02 04:48:20 -0700</bug_when>
    <thetext>One of the subtests in imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events.html is skipped because it fails with a flaky output:

promise_test(async t =&gt; {
  const div = createDiv(t);
  getComputedStyle(div).marginLeft;
  div.style = &apos;transition: margin-left 100s; margin-left: 100px;&apos;;
  const anim = div.getAnimations()[0];

  let receivedEvents = [];
  anim.oncancel = event =&gt; receivedEvents.push(event);

  const eventWatcher = new EventWatcher(t, div, &apos;transitionstart&apos;);
  await eventWatcher.wait_for(&apos;transitionstart&apos;);

  const timeInEventCallback = document.timeline.currentTime;

  // Calling cancel() queues a cancel event
  anim.cancel();

  await waitForAnimationFrames(1);
  assert_times_equal(timeInEventCallback, document.timeline.currentTime,
    &apos;A rAF callback should happen in the same frame&apos;);

  assert_array_equals(receivedEvents, [],
    &apos;The queued cancel event shouldn\&apos;t be dispatched in the same frame&apos;);

  await waitForAnimationFrames(1);
  assert_array_equals(receivedEvents.map(event =&gt; event.type), [&apos;cancel&apos;],
    &apos;The cancel event should be dispatched in a later frame&apos;);
}, &apos;Queues a cancel event in transitionstart event callback&apos;);

We need to stop skipping this test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847061</commentid>
    <comment_count>1</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-03-01 09:29:51 -0800</bug_when>
    <thetext>We no longer skip this test, however it is a unique failure, so retitling this bug to track this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847063</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-03-01 09:33:54 -0800</bug_when>
    <thetext>The two remaining failures are related to event sorting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912910</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-11-16 10:04:45 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/6555</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1913090</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-11-16 22:16:01 -0800</bug_when>
    <thetext>Committed 256771@main (4623d94c854c): &lt;https://commits.webkit.org/256771@main&gt;

Reviewed commits have been landed. Closing PR #6555 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1913091</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-16 22:17:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/102451821&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>