When target=_blank is blocked, don't block existing named targets in other
windows. Bug 174266, r=danm, sr=jst git-svn-id: svn://10.0.0.236/trunk@159949 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5224,7 +5224,7 @@ nsDocShell::InternalLoad(nsIURI * aURI,
|
||||
!name.EqualsLiteral("_main")) {
|
||||
nsCOMPtr<nsIDocShellTreeItem> targetTreeItem;
|
||||
FindItemWithName(name.get(),
|
||||
NS_STATIC_CAST(nsIInterfaceRequestor *, this),
|
||||
nsnull,
|
||||
getter_AddRefs(targetTreeItem));
|
||||
if (targetTreeItem)
|
||||
targetDocShell = do_QueryInterface(targetTreeItem);
|
||||
|
||||
Reference in New Issue
Block a user