Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c82ca3ff5ea27d224713169862dd81e323391dd4
https://github.com/WebKit/WebKit/commit/c82ca3ff5ea27d224713169862dd81e323391dd4
Author: Richard Robinson <[email protected]>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.h
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
Remove the embedder InlinePredictionsEnabled preference from
UnifiedWebPreferences
https://bugs.webkit.org/show_bug.cgi?id=259236
rdar://112304979
Reviewed by Tim Horton.
Since this preference isn't read in WebCore, or in the WebProcess, we can
simply read off the
WKWebViewConfiguration, without a need for a preference associated with the API.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):
(-[WKWebView _setupPageConfiguration:]):
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::setInlinePredictionsEnabled):
(WebKit::WebViewImpl::inlinePredictionsEnabled const):
(WebKit::WebViewImpl::allowsInlinePredictions const):
Canonical link: https://commits.webkit.org/266279@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes