Issue #618: Pass down referrer and referrer policy when fetching modules.

Because the spec says so.
This commit is contained in:
Moonchild 2020-08-13 17:13:23 +00:00 committed by Roy Tam
commit 684f4824da
4 changed files with 42 additions and 25 deletions

View file

@ -48,6 +48,8 @@ public:
uint32_t aVersion,
CORSMode aCORSMode,
const SRIMetadata& aIntegrity,
nsIURI* aReferrer,
mozilla::net::ReferrerPolicy,
ScriptLoader* aLoader);
// Create a module load request for an imported module.