Keep disabled WebViewMediaIntegrityApi: fix webview build
This commit is contained in:
@@ -9,18 +9,22 @@ https://android-developers.googleblog.com/2023/11/increasing-trust-for-embedded-
|
||||
need: Add-cromite-flags-support.patch
|
||||
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
|
||||
---
|
||||
android_webview/common/aw_features.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
android_webview/renderer/aw_content_renderer_client.cc | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/android_webview/common/aw_features.cc b/android_webview/common/aw_features.cc
|
||||
--- a/android_webview/common/aw_features.cc
|
||||
+++ b/android_webview/common/aw_features.cc
|
||||
@@ -56,6 +56,7 @@ const base::FeatureParam<int> kWebViewIpProtectionExclusionCriteria{
|
||||
diff --git a/android_webview/renderer/aw_content_renderer_client.cc b/android_webview/renderer/aw_content_renderer_client.cc
|
||||
--- a/android_webview/renderer/aw_content_renderer_client.cc
|
||||
+++ b/android_webview/renderer/aw_content_renderer_client.cc
|
||||
@@ -199,11 +199,6 @@ void AwContentRendererClient::
|
||||
autofill::features::kAutofillSharedAutofill)) {
|
||||
blink::WebRuntimeFeatures::EnableSharedAutofill(true);
|
||||
}
|
||||
-
|
||||
- // Enable the overall android.webview namespace.
|
||||
- blink::WebRuntimeFeatures::EnableBlinkExtensionWebView(true);
|
||||
- // Enable the android.webview.getExperimentalMediaIntegrityProvider API.
|
||||
- blink::WebRuntimeFeatures::EnableBlinkExtensionWebViewMediaIntegrity(true);
|
||||
}
|
||||
|
||||
// Fetch Hand Writing icon lazily.
|
||||
BASE_FEATURE(WebViewLazyFetchHandWritingIcon, base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
+SET_CROMITE_FEATURE_DISABLED(kWebViewMediaIntegrityApiBlinkExtension);
|
||||
|
||||
// When enabled, passive mixed content (Audio/Video/Image subresources loaded
|
||||
// over HTTP on HTTPS sites) will be autoupgraded to HTTPS, and the load will be
|
||||
void AwContentRendererClient::WebViewCreated(
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user