diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index a9218d9d6d8..951eb4601b4 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -1661,6 +1661,8 @@ NS_IMETHODIMP nsWebShellWindow::FindWebShellWithName(const PRUnichar* aName, // first, special cases if (nameStr.Length() == 0) return NS_OK; + if (nameStr.EqualsIgnoreCase("_blank")) + return NS_OK; if (nameStr.EqualsIgnoreCase("_content")) return GetContentWebShell(&aResult);