Skip to content

Conversation

simonwuelker
Copy link
Contributor

The current test runner assumes that each input chunk can be tokenized without interruptions. This is not true when <script> tags are involved and it is not how the tokenizer is meant to be used. Instead, we should spin until tokenizer.feed returns TokenizerResult::Done.

@simonwuelker simonwuelker changed the title Fix usage of tokenizer in tokenizer tests Wait until input is fully tokenized in tokenizer tests Jul 18, 2025
@jdm jdm added this pull request to the merge queue Jul 18, 2025
Merged via the queue into servo:main with commit a5b303f Jul 18, 2025
6 checks passed
@simonwuelker simonwuelker deleted the test-fix branch July 18, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants