diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-22 07:16:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-22 07:16:29 +0000 |
commit | c8a701b6463f7bef4fff9b2e61234cfcec3e7a72 (patch) | |
tree | 23170824f20d1c2c9b118df2b186b12536f789f5 /dom/script/ScriptLoader.h | |
parent | 073e914eba25e47e4cdeaa33e5bd4e999716866d (diff) | |
download | UXP-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/ScriptLoader.h')
-rw-r--r-- | dom/script/ScriptLoader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/script/ScriptLoader.h b/dom/script/ScriptLoader.h index 2a14b53ae..121636e91 100644 --- a/dom/script/ScriptLoader.h +++ b/dom/script/ScriptLoader.h @@ -66,7 +66,7 @@ public: nsIScriptElement* aElement, uint32_t aVersion, mozilla::CORSMode aCORSMode, - const mozilla::dom::SRIMetadata& aIntegrity, + const SRIMetadata& aIntegrity, nsIURI* aReferrer, mozilla::net::ReferrerPolicy aReferrerPolicy) : mKind(aKind), @@ -175,7 +175,7 @@ public: nsAutoCString mURL; // Keep the URI's filename alive during off thread parsing. int32_t mLineNo; const mozilla::CORSMode mCORSMode; - const mozilla::dom::SRIMetadata mIntegrity; + const SRIMetadata mIntegrity; const nsCOMPtr<nsIURI> mReferrer; const mozilla::net::ReferrerPolicy mReferrerPolicy; }; @@ -479,7 +479,7 @@ private: nsIScriptElement* aElement, uint32_t aVersion, mozilla::CORSMode aCORSMode, - const mozilla::dom::SRIMetadata& aIntegrity, + const SRIMetadata& aIntegrity, mozilla::net::ReferrerPolicy aReferrerPolicy); /** |