Skip to content

Commit b6c4e3f

Browse files
Note preparsed encoding tests are first 1024 bytes
1 parent 1e10bdb commit b6c4e3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

encoding/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ is the expected result of running the *encoding sniffing algorithm* at
3030
https://html.spec.whatwg.org/#encoding-sniffing-algorithm with the given
3131
test data as input; this is, it's the expected result of running *only* the
3232
*encoding sniffing algorithm* — without also running the tokenization state
33-
machine and tree-construction stage defined in the spec.
33+
machine and tree-construction stage defined in the spec — and specifically,
34+
for running the *prescan the byte stream to determine its encoding*
35+
https://html.spec.whatwg.org/#prescan-a-byte-stream-to-determine-its-encoding
36+
algorithm on only the first 1024 bytes of the test data.
3437

3538
For all tests outside the subdirectory named `preparsed`, the encoding name
3639
indicated is instead the expected character encoding for the output after

0 commit comments

Comments
 (0)