summaryrefslogtreecommitdiffstats
path: root/dom/script/ModuleLoadRequest.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-13 17:13:23 +0000
committerMoonchild <moonchild@palemoon.org>2020-08-30 09:38:29 +0000
commit9d6e28d3d0de8ddf5e482f7938822214f4da22ba (patch)
tree86dc723d3f9a9aa92d5a5538d8112c670d53214a /dom/script/ModuleLoadRequest.h
parentc735355ae167b247fa80e03772b657fc34983f49 (diff)
downloadUXP-9d6e28d3d0de8ddf5e482f7938822214f4da22ba.tar
UXP-9d6e28d3d0de8ddf5e482f7938822214f4da22ba.tar.gz
UXP-9d6e28d3d0de8ddf5e482f7938822214f4da22ba.tar.lz
UXP-9d6e28d3d0de8ddf5e482f7938822214f4da22ba.tar.xz
UXP-9d6e28d3d0de8ddf5e482f7938822214f4da22ba.zip
Issue #618: Pass down referrer and referrer policy when fetching modules.
Because the spec says so.
Diffstat (limited to 'dom/script/ModuleLoadRequest.h')
-rw-r--r--dom/script/ModuleLoadRequest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/script/ModuleLoadRequest.h b/dom/script/ModuleLoadRequest.h
index 2e9652881..eefb7dad5 100644
--- a/dom/script/ModuleLoadRequest.h
+++ b/dom/script/ModuleLoadRequest.h
@@ -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.