From c90d53565ad731be7a6131f0141145ad4db93c0d 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 --- core/websock.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/websock.js b/core/websock.js index c8d90acb6..f96559bb0 100644 --- a/core/websock.js +++ b/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