mirror of
https://github.com/lexmount/moli.git
synced 2026-10-07 08:01:00 +00:00
Keep valid inherited text encodings ahead of heuristic detection while preserving BOM, transport charset, and JSON default precedence. Share the response decoder between streaming main documents, asynchronous child loads, data URLs, and blocking child snapshots. Classify navigation XML MIME types independently of DOMParser's allowlist, including +xml subtypes in parser routing and text exclusions. Add regressions for inherited UTF-8, literal encoding declarations, XML namespaces, and DOMParser rejection of navigation-only XML types. Validation: - cargo fmt --all - cargo clippy --workspace --all-targets --all-features -- -D warnings - NEXTEST_TEST_THREADS=8 cargo nextest run --no-fail-fast 18,952 passed, 16 skipped. Two existing timing tests failed under the default concurrency, then passed individually and in the full run above.