DescriptionUse TextDecoder instead of JSZip.utils.transformTo in GzipImporter
Rationale: It avoids OOM and improves speed of gzip import (see the
associated bug).
Note: Although still marked as experimental, TextDecoder has been
supported by Chrome since M38 (see
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder#Browser_compatibility).
BUG=catapult:#2051
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b891575cc61cf38e90daa508697b453241d48f6f
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add a jszip fallback and a test #Patch Set 3 : Don't access TextDecoder through 'window' (d8) #
Messages
Total messages: 19 (8 generated)
|