Bug 1635365: Move field mixed content IsSecure from BrowsingContext to WindowContext. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D74269
This commit is contained in:
Christoph Kerschbaumer
2020-05-11 08:11:17 +00:00
parent f64f076c31
commit d9925a9900
7 changed files with 18 additions and 21 deletions

View File

@@ -120,6 +120,11 @@ bool WindowContext::CheckOnlyOwningProcessCanSet(ContentParent* aSource) {
return false;
}
bool WindowContext::CanSet(FieldIndex<IDX_IsSecure>, const bool& aIsSecure,
ContentParent* aSource) {
return CheckOnlyOwningProcessCanSet(aSource);
}
bool WindowContext::CanSet(FieldIndex<IDX_AllowMixedContent>,
const bool& aAllowMixedContent,
ContentParent* aSource) {