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 API | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Aditya Keerthi
It's also weird that we have both.
Simon Fraser (smfr)
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
<rdar://problem/110542643>