From 604ea1c95fd1c35c1850ec2804688c0de23d6ba0 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 6 Dec 2017 18:32:48 +0100 Subject: [PATCH] Feedback about webworkers --- www/common/cryptpad-common.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index aeadac105..7ec06cb4f 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -626,6 +626,14 @@ define([ if (typeof(Symbol) === 'undefined') { Feedback.send('NO_SYMBOL'); } + + if (typeof(SharedWorker) === "undefined") { + Feedback.send('NO_SHAREDWORKER'); + } + if (typeof(Worker) === "undefined") { + Feedback.send('NO_WEBWORKER'); + } + Feedback.reportScreenDimensions(); Feedback.reportLanguage(); };