<?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>206899</bug_id>
          
          <creation_ts>2020-01-28 11:54:35 -0800</creation_ts>
          <short_desc>[Web Animations] `DeclarativeAnimation` for CSS Animation is not always destroyed when class that applies `animation-name` is removed</short_desc>
          <delta_ts>2020-01-29 11:35:28 -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 Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=205434</see_also>
          <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>
          
          <blocked>205434</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Devin Rousso">hi</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>hi</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1612095</commentid>
    <comment_count>0</comment_count>
      <attachid>389045</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2020-01-28 11:54:35 -0800</bug_when>
    <thetext>Created attachment 389045
[HTML] Reduction

Attached a reduction page.

I encountered this when trying to debug &apos;LayoutTests/inspector/animation/lifecycle-css-animation.html&apos;, as the test would time out since Web Inspector would never get notified that the web animation had been destroyed, and only noticed it after adding logging inside WebCore.

The issue doesn&apos;t always reproduce, but it happens fairly often.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612096</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-01-28 11:54:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/58963946&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612394</commentid>
    <comment_count>2</comment_count>
      <attachid>389123</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2020-01-29 05:08:52 -0800</bug_when>
    <thetext>Created attachment 389123
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612527</commentid>
    <comment_count>3</comment_count>
      <attachid>389123</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2020-01-29 10:10:15 -0800</bug_when>
    <thetext>Comment on attachment 389123
Patch

r=me

I realize I didn&apos;t provide an easily testable reduction, but is it possible to write a test for this?  Would the `CSSAnimation` be retrievable from JavaScript somehow, so we could check that it no longer exists after this change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612532</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2020-01-29 10:18:01 -0800</bug_when>
    <thetext>Getting a hold from JS would prevent it from being deref&apos;d. The other option is to make this change in the patch you&apos;re working on which introduces a test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612573</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-29 11:18:46 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 389123:

editing/spelling/spellcheck-async-remove-frame.html bug 158401 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612578</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-29 11:19:17 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 389123:

editing/spelling/spellcheck-attribute.html bug 206178 (authors: g.czajkowski@samsung.com, mark.lam@apple.com, and rniwa@webkit.org)
imported/w3c/web-platform-tests/IndexedDB/fire-error-event-exception.html bug 201481 (authors: shvaikalesh@gmail.com and youennf@gmail.com)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612588</commentid>
    <comment_count>7</comment_count>
      <attachid>389123</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-29 11:35:27 -0800</bug_when>
    <thetext>Comment on attachment 389123
Patch

Clearing flags on attachment: 389123

Committed r255371: &lt;https://trac.webkit.org/changeset/255371&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612589</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-29 11:35:28 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>389045</attachid>
            <date>2020-01-28 11:54:35 -0800</date>
            <delta_ts>2020-01-28 11:54:35 -0800</delta_ts>
            <desc>[HTML] Reduction</desc>
            <filename>reduction.html</filename>
            <type>text/html</type>
            <size>827</size>
            <attacher name="Devin Rousso">hi</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgpAa2V5ZnJhbWVzIGZhZGUtaW4g
ewogICAgZnJvbSB7IGNvbG9yOiByZWQ7IH0KICAgIHRvIHsgY29sb3I6IGJsdWU7IH0KfQpkaXYj
dGFyZ2V0LmFjdGl2ZSB7CiAgICBhbmltYXRpb24tbmFtZTogZmFkZS1pbjsKICAgIGFuaW1hdGlv
bi1kdXJhdGlvbjogMTAwMHM7Cn0KPC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KICAgIDxkaXYgaWQ9
InRhcmdldCI+PC9kaXY+CiAgICA8YnV0dG9uIG9uY2xpY2s9ImRvY3VtZW50LmdldEVsZW1lbnRC
eUlkKCd0YXJnZXQnKS5jbGFzc0xpc3QudG9nZ2xlKCdhY3RpdmUnKSI+Q2xpY2sgTWUhPC9idXR0
b24+CiAgICA8b2w+CiAgICAgICAgPGxpPmFkZCBhbnkgbG9nZ2luZyBzdGF0ZW1lbnQgKGUuZy4g
PGNvZGU+V1RGUmVwb3J0QmFja3RyYWNlKCk8L2NvZGU+KSB0byA8Y29kZT5+V2ViQW5pbWF0aW9u
KCk8L2NvZGU+LjwvbGk+CiAgICAgICAgPGxpPmJ1aWxkPC9saT4KICAgICAgICA8bGk+cmVsb2Fk
IHRoaXMgcGFnZTwvbGk+CiAgICAgICAgPGxpPjwvbGk+CiAgICAgICAgPHVsPgogICAgICAgICAg
ICA8bGk+Q2xpY2sgdHdpY2UgaW4gcmFwaWQgc3VjY2Vzc2lvbiA9PiBsb2dnaW5nIGZyb20gPGNv
ZGU+fldlYkFuaW1hdGlvbigpPC9jb2RlPjwvbGk+CiAgICAgICAgICAgIDxsaT5DbGljayBvbmNl
LCB3YWl0IGEgZmV3IHNlY29uZHMsIGNsaWNrIGFnYWluID0+IDxzdHJvbmc+bm88L3N0cm9uZz4g
bG9nZ2luZyBmcm9tIDxjb2RlPn5XZWJBbmltYXRpb24oKTwvY29kZT48L2xpPgogICAgICAgIDwv
dWw+CiAgICA8L29sPgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>389123</attachid>
            <date>2020-01-29 05:08:52 -0800</date>
            <delta_ts>2020-01-29 11:35:27 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-206899-20200129140850.patch</filename>
            <type>text/plain</type>
            <size>1896</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">U3VidmVyc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