Searched refs:sameTypeParent (Results 1 – 16 of 16) sorted by relevance
272 if (docShell.sameTypeParent) {273 let parentWindow = docShell.sameTypeParent.QueryInterface(Ci.nsIInterfaceRequestor)286 // should have the same privileges of the sameTypeParent.
92 if (aDocShell.QueryInterface(Ci.nsIDocShellTreeItem).sameTypeParent)
93 if (!docShell.sameTypeParent) {
73 readonly attribute nsIDocShellTreeItem sameTypeParent;
970 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in NativeAttributes() local971 docShellTreeItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in NativeAttributes()972 if (!sameTypeParent || sameTypeParent == docShellTreeItem) break; in NativeAttributes()
1021 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in NativeAttributes() local1022 docShellTreeItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in NativeAttributes()1023 if (!sameTypeParent || sameTypeParent == docShellTreeItem) in NativeAttributes()
64 readonly attribute nsIDocShellTreeItem sameTypeParent;
65 readonly attribute nsIDocShellTreeItem sameTypeParent;
210 if (aDocShell.QueryInterface(Ci.nsIDocShellTreeItem).sameTypeParent)
2628 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in StartDocumentLoad() local2629 treeItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in StartDocumentLoad()2630 if (sameTypeParent) { in StartDocumentLoad()2631 nsIDocument* doc = sameTypeParent->GetDocument(); in StartDocumentLoad()
3928 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in IsChildOfSameType() local3930 docShellAsItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in IsChildOfSameType()3932 return sameTypeParent != nullptr; in IsChildOfSameType()
2435 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in StartDocumentLoad() local2436 treeItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in StartDocumentLoad()2437 if (sameTypeParent) { in StartDocumentLoad()2438 nsIDocument* doc = sameTypeParent->GetDocument(); in StartDocumentLoad()
3712 nsCOMPtr<nsIDocShellTreeItem> sameTypeParent; in IsChildOfSameType() local3714 docShellAsItem->GetSameTypeParent(getter_AddRefs(sameTypeParent)); in IsChildOfSameType()3716 return sameTypeParent != nullptr; in IsChildOfSameType()