summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-25 12:49:56 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-31 19:55:25 +0000
commitadb8677717472e020e35084839ab3726920ec386 (patch)
treee95bf8d26c579bb171d835052ee7ab01e637b51b /src
parentf2d938962fe9a029ec0baf37ca7f478051125780 (diff)
Disable shared workers
The feature has been redesigned for security reasons in 64. [ChangeLog][General] SharedWorkers have been disabled as they have been changed in the newest spec for security reasons. Change-Id: I3d0e03f170ef646a0352a38b65030bb4c06f3397 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src')
m---------src/3rdparty0
-rw-r--r--src/core/web_engine_context.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty b/src/3rdparty
-Subproject b7a9c9bf5b6bc08ae8746b7679317a902786868
+Subproject 2ce39c69ea6e27d023775ae4efe1401e78d4441
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 6a8c8ae73..fb249c7ff 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -339,6 +339,9 @@ WebEngineContext::WebEngineContext()
// Enabled on OS X and Linux but currently not working. It worked in 5.7 on OS X.
parsedCommandLine->AppendSwitch(switches::kDisableGpuMemoryBufferVideoFrames);
+ // Shared workers are not safe until Chromium 64
+ parsedCommandLine->AppendSwitch(switches::kDisableSharedWorkers);
+
#if defined(Q_OS_MACOS)
// Accelerated decoding currently does not work on macOS due to issues with OpenGL Rectangle
// texture support. See QTBUG-60002.