From 59a779c38ab9bbf6f7e360251e5ec3ba61b2ae3c Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 2 Sep 2020 15:06:45 -0400 Subject: [PATCH] Disable Badging API which is not supported (fixes issue #3005) --- libcef/renderer/alloy/alloy_content_renderer_client.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcef/renderer/alloy/alloy_content_renderer_client.cc b/libcef/renderer/alloy/alloy_content_renderer_client.cc index 9a6b0b3c1..b620bf23c 100644 --- a/libcef/renderer/alloy/alloy_content_renderer_client.cc +++ b/libcef/renderer/alloy/alloy_content_renderer_client.cc @@ -107,6 +107,7 @@ #include "third_party/blink/public/web/web_prerenderer_client.h" #include "third_party/blink/public/web/web_security_policy.h" #include "third_party/blink/public/web/web_view.h" +#include "third_party/blink/renderer/platform/runtime_enabled_features.h" #include "ui/base/l10n/l10n_util.h" #if defined(OS_MAC) @@ -363,6 +364,7 @@ void AlloyContentRendererClient::PostIOThreadCreated( // TODO(cef): Enable these once the implementation supports it. blink::WebRuntimeFeatures::EnableNotifications(false); blink::WebRuntimeFeatures::EnablePushMessaging(false); + blink::RuntimeEnabledFeatures::SetBadgingEnabled(false); } void AlloyContentRendererClient::RenderThreadStarted() {