Readonly
hasReadonly
primaryGet the BrowsingContext associated with either the primary content shell or primary remote tab, depending on which is available.
Readonly
primaryReturns the Primary Content Shell
Readonly
primaryIn multiprocess case we may not have primaryContentShell but primaryRemoteTab.
Readonly
tabGets the number of tabs currently open in our window, assuming this tree owner has such a concept.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Called when a content shell is added to the docshell tree. This is only called for "root" content shells (that is, ones whose parent is a chrome shell).
the shell being added.
whether the shell is primary.
Called when a content shell is removed from the docshell tree. This is only called for "root" content shells (that is, ones whose parent is a chrome shell). Note that if aContentShell was never added, contentShellRemoved should just do nothing.
the shell being removed.
Generated using TypeDoc
Returns true if there is a primary content shell or a primary remote tab.