Bug 1627533 - Create LoadGroups for docshells using the BrowsingContext's request context id. r=dragana,necko-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D75885
This commit is contained in:
Matt Woodrow
2020-05-20 23:41:36 +00:00
parent 6cd2b7966f
commit d6cfeae5c4
6 changed files with 48 additions and 2 deletions

View File

@@ -464,7 +464,7 @@ already_AddRefed<nsDocShell> nsDocShell::Create(
RefPtr<nsDocShell> ds = new nsDocShell(aBrowsingContext, aContentWindowID);
// Initialize the underlying nsDocLoader.
rv = ds->nsDocLoader::Init();
rv = ds->nsDocLoader::InitWithBrowsingContext(aBrowsingContext);
if (NS_WARN_IF(NS_FAILED(rv))) {
return nullptr;
}