summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-29 13:01:23 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-10 13:38:05 +0200
commit004fe2d1665bf23f64c981a4f209e3480e7ee4a7 (patch)
tree8bbbaddae2314f98dc56b344ee8754f34c4ed1e4
parentcc232eb6586b3db5b7ed61287e39319990417476 (diff)
Disable WebComponentsV0
It appears we are no longer presented with pages using these, so match Chrome and Chromium 80 defaults. Change-Id: Ie270c2bee9b81f898c7dab9e6d4dad02636c17cc Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--src/core/renderer/content_renderer_client_qt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/renderer/content_renderer_client_qt.cpp b/src/core/renderer/content_renderer_client_qt.cpp
index b2138a82a..428697936 100644
--- a/src/core/renderer/content_renderer_client_qt.cpp
+++ b/src/core/renderer/content_renderer_client_qt.cpp
@@ -622,9 +622,7 @@ void ContentRendererClientQt::WillSendRequest(blink::WebLocalFrame *frame,
bool ContentRendererClientQt::RequiresWebComponentsV0(const GURL &url)
{
Q_UNUSED(url);
- // Google services still presents pages using these features
- // to Chromium 80 based browsers (YouTube in particular).
- return true;
+ return false;
}
} // namespace QtWebEngineCore