mirror of
https://github.com/lexmount/moli.git
synced 2026-11-22 00:02:21 +00:00
Retain script referrer policy in V8 host-defined options, including imports from saved functions and string timers. Carry the importing script's URL through the module tree's existing referrer field into Fetch independently of the document origin and cookie initiator. Keep the client referrer for imports without referring script metadata. Add real HTTP coverage for main and child documents, classic and module scripts, inline and external sources, element mutation, response policies, and direct and timer imports. Verify that an explicit script referrer does not replace the document's origin or cookie context.