Switch if statement from testing for VARIANT_TRUE to testing for !VARIANT_FALSE to make behaviour more client forgiving and like IE. r=brade@netscape sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@120133 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2cb56ea24d
commit
d22a17f327
@ -357,7 +357,7 @@ NS_IMETHODIMP CWebBrowserContainer::OnStartURIOpen(nsIURI *pURI, PRBool *aAbortO
|
||||
SysFreeString(bstrTargetFrameName);
|
||||
SysFreeString(bstrHeaders);
|
||||
|
||||
if (bCancel == VARIANT_TRUE)
|
||||
if (bCancel != VARIANT_FALSE)
|
||||
{
|
||||
*aAbortOpen = PR_TRUE;
|
||||
return NS_ERROR_ABORT;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user