mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug #17468 --> if you pass a window target of _new, we weren't creating a new window. We do now.
r=travis
This commit is contained in:
parent
c564b74577
commit
1388ba58b5
@ -693,7 +693,7 @@ NS_IMETHODIMP nsURILoader::DispatchContent(const char * aContentType,
|
||||
nsCOMPtr<nsIURIContentListener> listenerToUse = aContentListener;
|
||||
|
||||
// find a content handler that can and will handle the content
|
||||
if (!aWindowTarget || nsCRT::strcasecmp(aWindowTarget, "_blank"))
|
||||
if (!aWindowTarget || (nsCRT::strcasecmp(aWindowTarget, "_blank") && nsCRT::strcasecmp(aWindowTarget, "_new") ))
|
||||
{
|
||||
PRBool foundContentHandler = PR_FALSE;
|
||||
if (listenerToUse)
|
||||
|
Loading…
x
Reference in New Issue
Block a user