CSP: Upgrade SO navigational requests per spec.

This commit is contained in:
janekptacijarabaci 2017-08-25 09:25:03 +02:00 committed by Roy Tam
commit 54e7645cb6
6 changed files with 214 additions and 0 deletions

View file

@ -859,6 +859,12 @@ LoadInfo::SetIsPreflight()
mIsPreflight = true;
}
void
LoadInfo::SetUpgradeInsecureRequests()
{
mUpgradeInsecureRequests = true;
}
NS_IMETHODIMP
LoadInfo::GetIsPreflight(bool* aIsPreflight)
{