Bug 255518
Summary: | [GLib] Add introspectable API to configure experimental features at runtime | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> |
Component: | WebKit API | Assignee: | Diego Pino <dpino> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dpino, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=255779 https://bugs.webkit.org/show_bug.cgi?id=255915 https://bugs.webkit.org/show_bug.cgi?id=256136 https://bugs.webkit.org/show_bug.cgi?id=275577 |
Adrian Perez
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adrian Perez
This should be useful to easily try in-development features as well,
like for example the SVG LBSE (bug #90738) -- we'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.
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/12824
EWS
Committed 263331@main (760e6a2591cf): <https://commits.webkit.org/263331@main>
Reviewed commits have been landed. Closing PR #12824 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/108468818>
Diego Pino
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 'G_OPTION_ENTRY_NULL' is only defined since glib 2.70 but Debian Stable only includes glib 2.66
Diego Pino
Re-opening for pull request https://github.com/webkit/webkit/pull/13265
EWS
Committed 263707@main (f407ecf491e1): <https://commits.webkit.org/263707@main>
Reviewed commits have been landed. Closing PR #13265 and removing active labels.