<?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>177416</bug_id>
          
          <creation_ts>2017-09-24 08:09:19 -0700</creation_ts>
          <short_desc>CSS constant properties should not be enabled by default</short_desc>
          <delta_ts>2017-10-10 14:25:36 -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>WebKit2</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>dino</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1352070</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-24 08:09:19 -0700</bug_when>
    <thetext>CSS constant properties is still experimental, so it shouldn&apos;t be enabled by default except for Cocoa ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352072</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-24 08:18:13 -0700</bug_when>
    <thetext>Hm I found r219318. This should probably be reviewed by Dean. Dean, we really do not want any experimental features enabled by default in GTK and WPE releases, only for Safari Tech Preview, which is what the DEFAULT_EXPERIMENTAL_FEATURES_ENABLED setting is trying to accomplish. If CSS constant properties is ready for Safari releases, then it should no longer be in the experimental features list.

I know there&apos;s been some desire for a runtime-enumerable list of feature toggles, but I don&apos;t think we should be abusing the experimental features list for that purpose.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352073</commentid>
    <comment_count>2</comment_count>
      <attachid>321653</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-24 08:18:39 -0700</bug_when>
    <thetext>Created attachment 321653
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352096</commentid>
    <comment_count>3</comment_count>
      <attachid>321653</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2017-09-24 17:03:44 -0700</bug_when>
    <thetext>Comment on attachment 321653
Patch

I am not sure this is right for Safari Developer Preview. Does someone at Apple have to do something to turn it on by default for that if we turn it off here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352097</commentid>
    <comment_count>4</comment_count>
      <attachid>321653</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2017-09-24 17:04:36 -0700</bug_when>
    <thetext>Comment on attachment 321653
Patch

Oh, I see. DEFAULT_EXPERIMENTAL_FEATURES_ENABLED does mean &quot;on for developer preview&quot;. I wonder if it’s right for actual iOS and macOS releases too. I would say review+ if I was more of an expert on how this works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352111</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-24 19:35:36 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #4)
&gt; Comment on attachment 321653 [details]
&gt; Patch
&gt; 
&gt; Oh, I see. DEFAULT_EXPERIMENTAL_FEATURES_ENABLED does mean &quot;on for developer
&gt; preview&quot;. I wonder if it’s right for actual iOS and macOS releases too. I
&gt; would say review+ if I was more of an expert on how this works.

Because Apple doesn&apos;t have ENABLE(DEVELOPER_MODE) or ENABLE(EXPERIMENTAL_FEATURES) (which is introduced in bug #177338), currently for macOS and iOS the experimental features are disabled manually after branching. So this change doesn&apos;t affect Apple at all, only WPE/GTK and WinCairo.

This process seems confusing and non-ideal to me, but if it&apos;s what works best for your release managers then I don&apos;t see any need to change it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1352112</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-24 19:41:10 -0700</bug_when>
    <thetext>DEFAULT_EXPERIMENTAL_FEATURES_ENABLED probably needs to be renamed, by the way. Originally I envisioned that all experimental features would be either enabled or disabled, but I didn&apos;t realize that Safari Tech Preview would want to enable some but not all experimental features. So there are actually two valid options for experimental features: always disabled by default (for the really unstable stuff), and enabled only for tech previews and GTK/WPE developer builds (DEFAULT_EXPERIMENTAL_FEATURES_ENABLED).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356273</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-04 00:42:22 -0700</bug_when>
    <thetext>Seems this got forgotten. Darin, can you give r+ please? Since this doesn&apos;t affect Apple and it would be good to get it into our next GTK release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358908</commentid>
    <comment_count>8</comment_count>
      <attachid>321653</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-10 14:24:18 -0700</bug_when>
    <thetext>Comment on attachment 321653
Patch

Clearing flags on attachment: 321653

Committed r223143: &lt;http://trac.webkit.org/changeset/223143&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358909</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-10 14:24:19 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358910</commentid>
    <comment_count>10</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-10-10 14:25:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/34919586&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>321653</attachid>
            <date>2017-09-24 08:18:39 -0700</date>
            <delta_ts>2017-10-10 14:24:18 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-177416-20170924101838.patch</filename>
            <type>text/plain</type>
            <size>2166</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjIyNDM0CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IDQyMDhlNGVkMDU0MGEwM2M3
NjZiOTUxNTc2OTkzOTgzNjAzN2NiZGEuLmNlY2NhMjhkMTdhNzNlMDU4OWUzZDVhNzY3ZDhjODY4
NDFjNGMyYjAgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTQgQEAKIDIwMTctMDktMjQgIE1pY2hhZWwg
Q2F0YW56YXJvICA8bWNhdGFuemFyb0BpZ2FsaWEuY29tPgogCisgICAgICAgIENTUyBjb25zdGFu
dCBwcm9wZXJ0aWVzIHNob3VsZCBub3QgYmUgZW5hYmxlZCBieSBkZWZhdWx0CisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xNzc0MTYKKworICAgICAgICBS
ZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFNoYXJlZC9XZWJQcmVmZXJl
bmNlc0R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