Closed sideshowbarker closed 3 years ago
I pushed this via the command line as f23387a8e09711a2a458bc8f4ea2eaec5ddb8fd8 and now I don't know how to make the GitHub PR metadata say merged instead of closed.
Thanks and sorry about the bad metadata state.
This change ensures that
TokenizerTester
uses the correct, expectedlastStartTag
value from the test source when theinitialStates
value in the test source includesScript data state
— or else if the test source specifies nolastStartTag
, thenscript
is used as the value.Otherwise, without this change,
TokenizerTester
is hardcoded to always usescript
as thelastStartTag
when running a test case with “Script data state” as the initial state. That discrepancy causes us to fail the following case from the html5lib-tests suite: