Jarred Sumner
4512a04820
Add missing code to TextDecoder "Invalid byte sequence" error ( #9700 )
...
* Fix missing `ERR_ENCODING_INVALID_ENCODED_DATA` code in TextDecoder
* Update text-decoder.test.js
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-28 22:06:40 -07:00
Jarred Sumner
47e7e004b1
Remove @known-failing-on-windows for tests which are no longer failing on windows
2024-01-24 21:03:32 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
WingLim
476fa4deda
feat(encoding): support BOM detection with test passed ( #6074 )
2023-10-03 10:28:59 -07:00
Jarred Sumner
abfc10afeb
Revert "feat(encoding): support BOM detection ( #5550 )"
...
This reverts commit 5f66b4e729 .
This caused test failures in text-encoder. cc @WingLim
2023-09-21 07:10:07 -07:00
Jarred Sumner
01d2cb5d98
Prettier
2023-09-21 00:51:48 -07:00
WingLim
5f66b4e729
feat(encoding): support BOM detection ( #5550 )
...
* fix(encoding): export `getIgnoreBOM`
* feat(encoding): support ignoreBOM
* fix(encoding): not replace BOM to 0xFFFD
* chore: use strict equal
2023-09-20 18:44:05 -07:00
WingLim
a098c6e5f6
feat(encoding): TextDecoder support undefined ( #5387 )
...
* feat(encoding): TextDecoder support undefined
* chore: format test file
2023-09-16 22:41:52 -07:00
Dylan Conway
70a5cfe908
fix text decode trim ( #4495 )
...
* remove trim
* separate function
* a test
* trim when `stream` is true
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-09-05 17:53:31 -07:00
Jarred Sumner
ef89f03de6
Update text-decoder.test.js
2023-07-20 15:26:06 -07:00
Julian
c383c6cd81
Pass constructor arguments to TextDecoder ( #3692 )
...
* Make TextDecoder constructor use options parameter
The constructor now actually sets TextDecoder properties using the
options parameter.
* Defer decoder allocation to end of constructor
* Verify types of TextDecoder options
* TextDecoder throw TypeError on failure
* Tidying
2023-07-20 14:50:54 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00