1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 23:18:26 +00:00

Issue #2641 - Speculative load changes for referrerpolicy

This commit is contained in:
Moonchild
2024-10-20 09:35:39 +02:00
committed by roytam1
parent 19c4996881
commit f6f046930d
20 changed files with 262 additions and 128 deletions
+6
View File
@@ -324,6 +324,12 @@ HTMLScriptElement::GetCORSMode() const
return AttrValueToCORSMode(GetParsedAttr(nsGkAtoms::crossorigin));
}
mozilla::net::ReferrerPolicy
HTMLScriptElement::GetReferrerPolicy()
{
return GetReferrerPolicyAsEnum();
}
bool
HTMLScriptElement::HasScriptContent()
{