window.open(,_blank) now always opens a new window. r:joki
git-svn-id: svn://10.0.0.236/trunk@47484 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user