mirror of
https://github.com/lexmount/moli.git
synced 2026-11-01 08:06:12 +00:00
Capture the owning Document policy when preparing parser and runtime script requests, separately from persistent script fetch options. Preserve the HTML preload scanner snapshot and pass it to classic script and link preload fetches. Admit child preload links at their parser token boundary and retain the policy while waiting for realm creation, so a later meta cannot change an earlier request. Keep explicit attributes and subsequent dynamic imports independent. Cover main and child Documents, parser and runtime modes, same/cross origins, header and meta defaults, invalid/explicit attributes, and delayed realm creation with real HTTP regressions that also check request and execution counts.