<?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>255518</bug_id>
          
          <creation_ts>2023-04-17 07:07:02 -0700</creation_ts>
          <short_desc>[GLib] Add introspectable API to configure experimental features at runtime</short_desc>
          <delta_ts>2024-06-17 11:52:22 -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>WebKit API</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=255779</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=255915</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=256136</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=275577</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="Adrian Perez">aperez</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>dpino</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1949142</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-04-17 07:07:02 -0700</bug_when>
    <thetext>We would like to have something similar like the JSCOptions API,
but for WebKit, likely attached to the WebKitSettings class. It
should allow to:

 1. Enumerate available features which can be toggled at run time
    (their names, default value, current value, etc).
 2. Toggle values programmatically :)

The above would allow to have e.g. a development menu like Safari
Tech Preview in the Minibrowser and (if desired) in Epiphany, or
maybe even command line options to let people easily preview
features which are in development.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949143</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-04-17 07:08:54 -0700</bug_when>
    <thetext>This should be useful to easily try in-development features as well,
like for example the SVG LBSE (bug #90738) -- we&apos;ve had people more
than once ask to be able to toggle features at runtime, so they do
not need to locally patch GTK/WPE port builds to try out things.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949253</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-04-17 14:50:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12824</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950850</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-24 13:31:51 -0700</bug_when>
    <thetext>Committed 263331@main (760e6a2591cf): &lt;https://commits.webkit.org/263331@main&gt;

Reviewed commits have been landed. Closing PR #12824 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950853</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-24 13:33:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/108468818&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951763</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-04-28 00:55:12 -0700</bug_when>
    <thetext>Debian Stable bot is failing after this patch with the following build error:

https://build.webkit.org/#/builders/46/builds/29638

```
../../Tools/MiniBrowser/gtk/main.c:377:9: error: ‘G_OPTION_ENTRY_NULL’ undeclared (first use in this function); did you mean ‘G_OPTION_ARG_NONE’?
  377 |         G_OPTION_ENTRY_NULL
      |         ^~~~~~~~~~~~~~~~~~~
      |         G_OPTION_ARG_NONE
```

Macro &apos;G_OPTION_ENTRY_NULL&apos; is only defined since glib 2.70 but Debian Stable only includes glib 2.66</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951764</commentid>
    <comment_count>6</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-04-28 00:56:20 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/13265</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953074</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-04 19:49:49 -0700</bug_when>
    <thetext>Committed 263707@main (f407ecf491e1): &lt;https://commits.webkit.org/263707@main&gt;

Reviewed commits have been landed. Closing PR #13265 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>