<?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>203075</bug_id>
          
          <creation_ts>2019-10-17 00:55:13 -0700</creation_ts>
          <short_desc>[Web Animations] Enable the Web Animations JavaScript API by default</short_desc>
          <delta_ts>2020-03-26 04:25:41 -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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=203088</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>dvoytenko</cc>
    
    <cc>fred.wang</cc>
    
    <cc>ggaren</cc>
    
    <cc>graouts</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1580895</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-10-17 00:55:13 -0700</bug_when>
    <thetext>[Web Animations] Enable the Web Animations JavaScript API by default</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580896</commentid>
    <comment_count>1</comment_count>
      <attachid>381175</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-10-17 00:55:49 -0700</bug_when>
    <thetext>Created attachment 381175
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580947</commentid>
    <comment_count>2</comment_count>
      <attachid>381175</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-10-17 07:48:25 -0700</bug_when>
    <thetext>Comment on attachment 381175
Patch

Yay!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580984</commentid>
    <comment_count>3</comment_count>
      <attachid>381175</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-10-17 09:24:56 -0700</bug_when>
    <thetext>Comment on attachment 381175
Patch

Clearing flags on attachment: 381175

Committed r251237: &lt;https://trac.webkit.org/changeset/251237&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580985</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-10-17 09:24:58 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580986</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-10-17 09:25:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/56372801&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580987</commentid>
    <comment_count>6</comment_count>
      <attachid>381175</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-10-17 09:26:30 -0700</bug_when>
    <thetext>Comment on attachment 381175
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=381175&amp;action=review

&gt; Source/WebCore/page/RuntimeEnabledFeatures.h:408
&gt; +    bool m_areWebAnimationsEnabled { true };

WebAnimation is not well-behaved when it comes to the back/forward cache and I do not think we should enable this until it is. We have a feature to make the back/forward cache work all the time and enabling this is a step backward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581339</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-10-18 00:08:56 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #6)
&gt; Comment on attachment 381175 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=381175&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/page/RuntimeEnabledFeatures.h:408
&gt; &gt; +    bool m_areWebAnimationsEnabled { true };
&gt; 
&gt; WebAnimation is not well-behaved when it comes to the back/forward cache and
&gt; I do not think we should enable this until it is. We have a feature to make
&gt; the back/forward cache work all the time and enabling this is a step
&gt; backward.

This is tracked by 203088.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581535</commentid>
    <comment_count>8</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2019-10-18 14:39:42 -0700</bug_when>
    <thetext>Antoine, does that mean that you intend to fix bug 203088 soon? If so, how soon?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581691</commentid>
    <comment_count>9</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-10-19 07:32:41 -0700</bug_when>
    <thetext>I do intend to fix it soon. I&apos;m busy working on a performance regression with the &quot;CSS Animations via Web Animations&quot; flag (rdar://56017038), and as soon as I&apos;m done with this, I will work on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1634093</commentid>
    <comment_count>10</comment_count>
    <who name="Dima Voytenko">dvoytenko</who>
    <bug_when>2020-03-25 16:05:01 -0700</bug_when>
    <thetext>Could you please confirm the status of Web Animations? All the relevant issues seem to be RESOLVED FIXED, and I can even find some blog posts on the feature. But I&apos;m still not seeing it enabled in the latest desktop Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1634273</commentid>
    <comment_count>11</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2020-03-26 04:25:41 -0700</bug_when>
    <thetext>(In reply to Dima Voytenko from comment #10)
&gt; Could you please confirm the status of Web Animations? All the relevant
&gt; issues seem to be RESOLVED FIXED, and I can even find some blog posts on the
&gt; feature. But I&apos;m still not seeing it enabled in the latest desktop Safari.

Web Animations has been enabled for the first time in a shipping version of Safari this week with Safari 13.1 for macOS Catalina 10.15.4. There is also a newer version of Safari 12 for macOS High Sierra and macOS Mojave, but I&apos;m not sure what the version number is.

If you have the latest and greatest shipping Safari but somehow Web Animations is still disabled, you most likely disabled it manually yourself under Develop &gt; Experimental Features. You can reset all of those flags using the &quot;Reset All to Defaults&quot; item at the bottom of the experimental features menu.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>381175</attachid>
            <date>2019-10-17 00:55:49 -0700</date>
            <delta_ts>2019-10-17 09:24:56 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-203075-20191017095548.patch</filename>
            <type>text/plain</type>
            <size>2652</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjUxMjI2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMDQwMmZlZDMxNzJiNTE4
NzVjM2Q5MTY5MWNkYTBlMGJjNTYzMzUzNy4uZjllMGFiNGI0MzA0YzZmZWViOWZkMjlmM2EwNjhh
Mjc5NzJmYTcwOSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE5LTEwLTE3ICBBbnRv
aW5lIFF1aW50ICA8Z3Jhb3V0c0BhcHBsZS5jb20+CisKKyAgICAgICAgW1dlYiBBbmltYXRpb25z
XSBFbmFibGUgdGhlIFdlYiBBbmltYXRpb25zIEph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