Modified handling of Cancel flag sent to BeforeNavigate2 from BeginLoadURL. Previously function called aShell->Stop() which was ineffective. Changed function to return NS_ERROR_ABORT.

git-svn-id: svn://10.0.0.236/trunk@30691 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mike%neoplanet.com
1999-05-07 14:23:54 +00:00
parent e8dae5bfd7
commit 423cae3c82

View File

@@ -134,10 +134,7 @@ CWebShellContainer::BeginLoadURL(nsIWebShell* aShell, const PRUnichar* aURL)
if (bCancel == VARIANT_TRUE)
{
if (aShell)
{
aShell->Stop();
}
return NS_ERROR_ABORT;
}
else
{