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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user