<?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>269475</bug_id>
          
          <creation_ts>2024-02-15 09:54:46 -0800</creation_ts>
          <short_desc>269988@main broke the ability to conditionally enable feature default values</short_desc>
          <delta_ts>2024-02-15 10:07:05 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</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="Mike Wyrzykowski">mwyrzykowski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>emw</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2013988</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2024-02-15 09:54:46 -0800</bug_when>
    <thetext>In UnifiedWebPreferences.yaml there are quite a few features with defaults like so:

    WebKit:
      &quot;PLATFORM(COCOA) || PLATFORM(GTK) || PLATFORM(WPE)&quot;: true
      default: false

however the &apos;status&apos; category is tightly coupled to the feature definition and there is no obvious way to have multiple feature categories or have a status that is not aligned with its default value.

This is the case when ENABLE_FEATURE_DEFAULT_VALIDATION is 1 which only applies to macOS 14 and later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013989</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-15 09:55:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/123020563&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013992</commentid>
    <comment_count>2</comment_count>
    <who name="Elliott Williams">emw</who>
    <bug_when>2024-02-15 10:07:05 -0800</bug_when>
    <thetext>&gt; however the &apos;status&apos; category is tightly coupled to the feature definition and there is no obvious way to have multiple feature categories or have a status that is not aligned with its default value.

Yeah. I think it would be a good improvement to allow the status to be conditionally specified, i.e.

	status:
	   PLATFORM(IOS_FAMILY): stable
	   default: preview

For now, the status should correspond with the feature&apos;s availability on macOS, since that is where feature status is user-visible.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>