mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 07:07:30 +09:00
Issue #618 - Integrity for descendant module scripts should be the empty string
Because the spec says so.
This commit is contained in:
parent
75f3f09fc6
commit
9f5805eee2
2 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ ModuleLoadRequest::ModuleLoadRequest(nsIURI* aURI,
|
||||||
aParent->mElement,
|
aParent->mElement,
|
||||||
aParent->mJSVersion,
|
aParent->mJSVersion,
|
||||||
aParent->mCORSMode,
|
aParent->mCORSMode,
|
||||||
aParent->mIntegrity,
|
SRIMetadata(),
|
||||||
aParent->mURI,
|
aParent->mURI,
|
||||||
aParent->mReferrerPolicy),
|
aParent->mReferrerPolicy),
|
||||||
mIsTopLevel(false),
|
mIsTopLevel(false),
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ public:
|
||||||
nsIScriptElement* aElement,
|
nsIScriptElement* aElement,
|
||||||
uint32_t aVersion,
|
uint32_t aVersion,
|
||||||
mozilla::CORSMode aCORSMode,
|
mozilla::CORSMode aCORSMode,
|
||||||
const mozilla::dom::SRIMetadata& aIntegrity,
|
const SRIMetadata& aIntegrity,
|
||||||
nsIURI* aReferrer,
|
nsIURI* aReferrer,
|
||||||
mozilla::net::ReferrerPolicy aReferrerPolicy)
|
mozilla::net::ReferrerPolicy aReferrerPolicy)
|
||||||
: mKind(aKind),
|
: mKind(aKind),
|
||||||
|
|
@ -175,7 +175,7 @@ public:
|
||||||
nsAutoCString mURL; // Keep the URI's filename alive during off thread parsing.
|
nsAutoCString mURL; // Keep the URI's filename alive during off thread parsing.
|
||||||
int32_t mLineNo;
|
int32_t mLineNo;
|
||||||
const mozilla::CORSMode mCORSMode;
|
const mozilla::CORSMode mCORSMode;
|
||||||
const mozilla::dom::SRIMetadata mIntegrity;
|
const SRIMetadata mIntegrity;
|
||||||
const nsCOMPtr<nsIURI> mReferrer;
|
const nsCOMPtr<nsIURI> mReferrer;
|
||||||
const mozilla::net::ReferrerPolicy mReferrerPolicy;
|
const mozilla::net::ReferrerPolicy mReferrerPolicy;
|
||||||
};
|
};
|
||||||
|
|
@ -479,7 +479,7 @@ private:
|
||||||
nsIScriptElement* aElement,
|
nsIScriptElement* aElement,
|
||||||
uint32_t aVersion,
|
uint32_t aVersion,
|
||||||
mozilla::CORSMode aCORSMode,
|
mozilla::CORSMode aCORSMode,
|
||||||
const mozilla::dom::SRIMetadata& aIntegrity,
|
const SRIMetadata& aIntegrity,
|
||||||
mozilla::net::ReferrerPolicy aReferrerPolicy);
|
mozilla::net::ReferrerPolicy aReferrerPolicy);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue