Bug 1445659 - Create basic Browsing Context in Content Parent and Child. r=peterv

Add BrowsingContext to allow the tree structure of docshells to exist
in several processes simultaneously. This is a first step towards
allowing a tree structure preserving separation of docshells across
processes.
This commit is contained in:
Andreas Farre
2018-07-26 10:31:00 +03:00
parent 3f847be983
commit b2b698695f
16 changed files with 534 additions and 19 deletions

View File

@@ -7,6 +7,8 @@
#include "mozilla/ModuleUtils.h"
#include "nsDocShellCID.h"
#include "mozilla/dom/BrowsingContext.h"
#include "nsDocShell.h"
#include "nsDefaultURIFixup.h"
#include "nsWebNavigationInfo.h"
@@ -53,6 +55,7 @@ Initialize()
}
gInitialized = true;
mozilla::dom::BrowsingContext::Init();
nsresult rv = nsSHistory::Startup();
NS_ENSURE_SUCCESS(rv, rv);