This website requires JavaScript.
Explore
Help
Sign in
dmaax
/
ladybird
Watch
1
Star
0
Fork
You've already forked ladybird
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
master
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
HTML
/
parser-streams-script-split.txt
2 lines
4 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
LibWeb: Add incremental HTML parsing Introduce IncrementalDocumentParser, which streams the response body through a TextCodec::StreamingDecoder into the HTMLTokenizer one chunk at a time. The tokenizer pauses when it runs out of input and resumes once the next chunk is appended; when the body closes we close the tokenizer's input stream so it can finish the parse. DocumentLoading routes HTML responses through the new parser instead of buffering the full body before handing it to HTMLParser.
2026-04-28 14:51:22 -03:00
ran
Reference in a new issue
Copy permalink