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:
@@ -134,10 +134,7 @@ CWebShellContainer::BeginLoadURL(nsIWebShell* aShell, const PRUnichar* aURL)
|
||||
|
||||
if (bCancel == VARIANT_TRUE)
|
||||
{
|
||||
if (aShell)
|
||||
{
|
||||
aShell->Stop();
|
||||
}
|
||||
return NS_ERROR_ABORT;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user