Encoding tests
here's a list of sections with suggestions of what tests might be needed, and what's available now, which I threw together quickly.
Encoding coverage information
Preface
Security Background
Conformance
Terminology
none
5 Encodings
5.1 Encoders and decoders
check the error handling, if not part of later tests
5.2 Names and labels
check that user agents support all encodings and labels listed check that they don't support others? check that all labels are handled as the encoding they are listed against
6 Indexes
check that the index is correct for all characters in all encodings test the edge cases listed in the second half of the section
7 Specification hooks
http://www.w3.org/International/tests/repo/results/input-byte-stream-basics
i suspect that the above tests may satisfy our needs for this section? Anne suggested that these tests are more relevant to users of this spec
8 API
is TextDecoder supported is TextEncoder supported https://w3c-test.org/encoding/api-basics.html https://w3c-test.org/encoding/api-invalid-label.html https://w3c-test.org/encoding/api-replacement-encodings.html https://w3c-test.org/encoding/api-surrogates-utf8.html https://w3c-test.org/encoding/textdecoder-byte-order-marks.html https://w3c-test.org/encoding/textdecoder-fatal-streaming.html https://w3c-test.org/encoding/textdecoder-fatal.html https://w3c-test.org/encoding/textdecoder-ignorebom.html https://w3c-test.org/encoding/textdecoder-labels.html https://w3c-test.org/encoding/textdecoder-streaming.html https://w3c-test.org/encoding/textdecoder-utf16-surrogates.html https://w3c-test.org/encoding/textencoder-constructor-non-utf.html https://w3c-test.org/encoding/textencoder-utf16-surrogates.html
9 The encoding
check for errors
10 Legacy encodings
check that all codepoints in an index are correct encoded check that all codepoints in an index are correctly decoded http://www.w3.org/International/tests/repo/results/encoding-sb-dec https://w3c-test.org/encoding/single-byte-decoder.html
11-14 CJK
check that all codepoints in an index are correctly encoded, and test edge cases check that all codepoints in an index are correctly decoded, and test edge cases http://www.w3.org/International/tests/repo/results/encoding-dbl-byte http://www.w3.org/International/tests/repo/results/encoding-dbl-byte-nightly https://w3c-test.org/encoding/big5-encoder.html https://w3c-test.org/encoding/iso-2022-jp-decoder.html https://w3c-test.org/encoding/iso-2022-jp-encoder.html
15 Legacy miscellaneous encodings
tbd