-
Notifications
You must be signed in to change notification settings - Fork 62
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: html5lib/html5lib-tests
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a9f4496
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: html5lib/html5lib-tests
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b6c4e3f
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 2 commits
- 2 files changed
- 1 contributor
Commits on Aug 24, 2020
-
Test the (meta) prescan algorithm
This change adds a `preparsed` subdirectory in the `encoding` directory, with tests for which the result of the *encoding sniffing algorithm* at https://html.spec.whatwg.org/#encoding-sniffing-algorithm is the expected result — that is, tests for which the expected result is the output of running *only* the encoding sniffing algorithm (of which the main sub-algorithm is the so-called “meta prescan”) — without also running the tokenization state machine and tree-construction stage. This change also adds a README file that explicitly documents what the expected results for the encoding tests are, based on whether or not they’re in the `preparsed` subdirectory. Without those changes, it’s unclear whether the expected results shown in the existing tests are for the output of fully parsing the test data — through the tokenization state machine and tree-construction stage — or instead just the output of the encoding sniffing algorithm only. And without those changes, we also don’t have any tests a system can use for testing only the output from the encoding sniffing algorithm. Fixes #28
Configuration menu - View commit details
-
Copy full SHA for 1e10bdb - Browse repository at this point
Copy the full SHA 1e10bdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6c4e3f - Browse repository at this point
Copy the full SHA b6c4e3fView commit details
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.