mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-19 00:01:59 +00:00
Add a Rust scanner that walks pending HTML parser input and emits base href updates or speculative fetch candidates. Keep URL parsing and fetch issuance in C++ for now, where the Document and request objects live. Allow the scan callback to stop iteration so the C++ speculative parser can preserve its stop hook once it is wired up. Expose a shared Attribute helper for resolving interned local names and use it from the Rust parser and preload scanner instead of repeating the same lookup pattern. Cover link rel handling, preload destination filtering, crossorigin mapping, and template/foreign-content skipping with Rust unit tests. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cbindgen.toml | ||