Jonas Jenwald
1b4a7c5965
Introduce more optional chaining in the src/core/
folder
...
After PR 12563 we're now free to use optional chaining in the worker-thread as well. (This patch also fixes one previously "missed" case in the `web/` folder.)
For the MOZCENTRAL build-target this patch reduces the total bundle-size by `1.6` kilobytes.
2023-05-15 12:38:28 +02:00
Jonas Jenwald
6877d8b9e2
Replace loop with TypedArray.prototype.set
in the DecryptStream.readBlock
method
...
There's no reason to use a manual loop, when a native method exists.
2022-10-06 14:43:24 +02:00
Jonas Jenwald
30a22a168d
Move the DecodeStream
and StreamsSequenceStream
from src/core/stream.js
and into its own file
2021-04-28 10:16:51 +02:00
Jonas Jenwald
e938c05edb
Convert src/core/decrypt_stream.js
to use standard classes
2021-04-28 10:16:51 +02:00
Jonas Jenwald
a9476e7dd0
Enable the no-var
rule in the src/core/decrypt_stream.js
file
2021-04-28 10:16:51 +02:00
Jonas Jenwald
28b0809e60
Move the DecryptStream
from src/core/stream.js
and into its own file
2021-04-28 10:16:51 +02:00