From b0c54f6b24474d6ee11454333ec3b24562492d09 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Wed, 25 Sep 2019 21:03:37 +0200 Subject: [PATCH] Clarify why we ENABLE_COPYWITHIN is false --- kasmweb/core/websock.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kasmweb/core/websock.js b/kasmweb/core/websock.js index c8d90ac..f96559b 100644 --- a/kasmweb/core/websock.js +++ b/kasmweb/core/websock.js @@ -17,6 +17,8 @@ import * as Log from './util/logging.js'; // this has performance issues in some versions Chromium, and // doesn't gain a tremendous amount of performance increase in Firefox // at the moment. It may be valuable to turn it on in the future. +// Also copyWithin() for TypedArrays is not supported in IE 11 or +// Safari 13 (at the moment we want to support Safari 11). const ENABLE_COPYWITHIN = false; const MAX_RQ_GROW_SIZE = 40 * 1024 * 1024; // 40 MiB