mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-27 19:51:03 +00:00
When the HTML parser blocks on a synchronous external script, run a separate tokenizer over the unparsed input and issue speculative fetches for the resources it finds (script src, link rel=stylesheet|preload, img src), with <base href> tracking and template/foreign-content skipping. Also fills in the previously-stubbed "consume a preloaded resource" algorithm and the document's "map of preloaded resources", so that <link rel="preload"> followed by a matching consumer deduplicates to a single fetch. |
||
|---|---|---|
| .. | ||
| Entities.cpp | ||
| Entities.h | ||
| Entities.json | ||
| HTMLEncodingDetection.cpp | ||
| HTMLEncodingDetection.h | ||
| HTMLParser.cpp | ||
| HTMLParser.h | ||
| HTMLToken.cpp | ||
| HTMLToken.h | ||
| HTMLTokenizer.cpp | ||
| HTMLTokenizer.h | ||
| ListOfActiveFormattingElements.cpp | ||
| ListOfActiveFormattingElements.h | ||
| ParserScriptingMode.h | ||
| SpeculativeHTMLParser.cpp | ||
| SpeculativeHTMLParser.h | ||
| SpeculativeMockElement.cpp | ||
| SpeculativeMockElement.h | ||
| StackOfOpenElements.cpp | ||
| StackOfOpenElements.h | ||