summaryrefslogtreecommitdiffstats
path: root/dom/script/ModuleLoadRequest.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-22 07:16:29 +0000
committerMoonchild <moonchild@palemoon.org>2020-08-22 07:16:29 +0000
commitc8a701b6463f7bef4fff9b2e61234cfcec3e7a72 (patch)
tree23170824f20d1c2c9b118df2b186b12536f789f5 /dom/script/ModuleLoadRequest.cpp
parent073e914eba25e47e4cdeaa33e5bd4e999716866d (diff)
downloadUXP-c8a701b6463f7bef4fff9b2e61234cfcec3e7a72.tar
UXP-c8a701b6463f7bef4fff9b2e61234cfcec3e7a72.tar.gz
UXP-c8a701b6463f7bef4fff9b2e61234cfcec3e7a72.tar.lz
UXP-c8a701b6463f7bef4fff9b2e61234cfcec3e7a72.tar.xz
UXP-c8a701b6463f7bef4fff9b2e61234cfcec3e7a72.zip
Issue #618 - Integrity for descendant module scripts should be the empty string
Because the spec says so.
Diffstat (limited to 'dom/script/ModuleLoadRequest.cpp')
-rw-r--r--dom/script/ModuleLoadRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/script/ModuleLoadRequest.cpp b/dom/script/ModuleLoadRequest.cpp
index 5b0e0bdba..746a355b5 100644
--- a/dom/script/ModuleLoadRequest.cpp
+++ b/dom/script/ModuleLoadRequest.cpp
@@ -53,7 +53,7 @@ ModuleLoadRequest::ModuleLoadRequest(nsIURI* aURI,
aParent->mElement,
aParent->mJSVersion,
aParent->mCORSMode,
- aParent->mIntegrity,
+ SRIMetadata(),
aParent->mURI,
aParent->mReferrerPolicy),
mIsTopLevel(false),