test: port encoding WPT into core
Note: the test runner does not yet support scanning and running tests under subdirectories, but in the case of encoding it's fine because the subdirectory stream
contains tests for Text*CoderStream
that we do not support yet.
There are still some tests failing, I've marked them in the test/wpt/status/encoding.json
and opened https://github.com/nodejs/node/issues/25315 to track one of the failures.
The first commit, and the biggest one, is generated with git node wpt
.
test: pull enconding WPT test fixtures
test: support more icu requirements in the WPT status file
Support small-icu
and full-icu
requirements, where full-icu
implies small-icu
.
test: use WPT runner to run encoding tests
test: remove duplicate encoding tests in favor of WPT
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines