Bug 257659

Summary: _serviceControlsEnabled exists on both WKPreferences and WKWebViewConfiguration and only the latter works
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: akeerthi, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2023-06-02 12:55:00 PDT
I was trying to enable Services Controls in MiniBrowser, and noticed that it existed on both WKPreferences and WKWebViewConfiguration This works; configuration._serviceControlsEnabled = YES; This does not: configuration.preferences._serviceControlsEnabled = YES;
Attachments
Aditya Keerthi
Comment 1 2023-06-02 15:27:44 PDT
It's also weird that we have both.
Simon Fraser (smfr)
Comment 2 2023-06-03 10:22:04 PDT
The WKWebViewConfiguration one came from https://commits.webkit.org/169293@main The WKPreferences one came later from: https://commits.webkit.org/199010@main
Radar WebKit Bug Importer
Comment 3 2023-06-09 12:55:17 PDT
Note You need to log in before you can comment on or make changes to this bug.