Skip to content

Commit

Permalink
Note preparsed encoding tests are first 1024 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Aug 24, 2020
1 parent 1e10bdb commit b6c4e3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion encoding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ is the expected result of running the *encoding sniffing algorithm* at
https://html.spec.whatwg.org/#encoding-sniffing-algorithm with the given
test data as input; this is, it's the expected result of running *only* the
*encoding sniffing algorithm* — without also running the tokenization state
machine and tree-construction stage defined in the spec.
machine and tree-construction stage defined in the spec — and specifically,
for running the *prescan the byte stream to determine its encoding*
https://html.spec.whatwg.org/#prescan-a-byte-stream-to-determine-its-encoding
algorithm on only the first 1024 bytes of the test data.

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

0 comments on commit b6c4e3f

Please sign in to comment.