Bug 1632160: Remove GetAllowMixedContentAndConnectionData from nsIDocShell and expose similar functionality on BrowsingContext. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D72901
This commit is contained in:
Christoph Kerschbaumer
2020-05-06 07:15:40 +00:00
parent 38259752f2
commit 8f6a1a167e
9 changed files with 42 additions and 67 deletions

View File

@@ -82,6 +82,8 @@ void WindowGlobalParent::Init(const WindowGlobalInit& aInit) {
// `gWindowContexts`.
WindowContext::Init();
WindowContext::SetAllowMixedContent(aInit.allowMixedContent());
// Determine which content process the window global is coming from.
dom::ContentParentId processId(0);
ContentParent* cp = nullptr;