WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
256136
Features specific to other ports should not be compiled in
https://bugs.webkit.org/show_bug.cgi?id=256136
Summary
Features specific to other ports should not be compiled in
Adrian Perez
Reported
2023-04-29 13:57:47 PDT
After
bug #255518
I have noticed that some of the features which end up in the built code do not make any sense for the GLib ports. For example: AcceleratedDrawingEnabled: type: bool status: internal defaultsOverridable: true humanReadableName: "GraphicsLayerCA accelerated drawing" humanReadableDescription: "Enable GraphicsLayerCA accelerated drawing" ... The above feature is specific to the Apple ports, as none of WPE, GTK, WinCairo, or PlayStation can use CoreAnimation. It would be good to go over the list in UnifiedWebPreferences.yaml and add missing conditions for such cases; e.g. in the example above we need to add: condition: USE(CA)
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2023-05-01 12:57:41 PDT
(In reply to Adrian Perez from
comment #0
)
> After
bug #255518
I have noticed that some of the features which end > up in the built code do not make any sense for the GLib ports. For > example: > > AcceleratedDrawingEnabled: > type: bool > status: internal > defaultsOverridable: true > humanReadableName: "GraphicsLayerCA accelerated drawing" > humanReadableDescription: "Enable GraphicsLayerCA accelerated drawing" > ... > > The above feature is specific to the Apple ports, as none of WPE, GTK, > WinCairo, or PlayStation can use CoreAnimation. > > It would be good to go over the list in UnifiedWebPreferences.yaml and > add missing conditions for such cases; e.g. in the example above we need > to add: > > condition: USE(CA)
Mmmmkay, maybe this wasn't the best example because the feature setting is used also by ports that don't define USE(CA), so in this case the course of action would be to change the description to read “GraphicsLayer accelerated drawing” (without the “CA”); but the general idea applies to other feature settings.
Adrian Perez
Comment 2
2023-05-03 02:00:14 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13392
EWS
Comment 3
2023-05-03 13:26:20 PDT
Committed
263646@main
(8cb6215d7346): <
https://commits.webkit.org/263646@main
> Reviewed commits have been landed. Closing PR #13392 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2023-05-03 13:27:24 PDT
<
rdar://problem/108857292
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug