184433 Internet Keywords triggered by "connection refused" errors. fix it to
only trigger if the hostname is unknown. patch by Jerry Talkington <jtalkington@users.sourceforge.net> r=adamlock sr=darin git-svn-id: svn://10.0.0.236/trunk@151975 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -829,10 +829,7 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress,
|
||||
//
|
||||
// First try keyword fixup
|
||||
//
|
||||
if (aStatus == NS_ERROR_UNKNOWN_HOST ||
|
||||
aStatus == NS_ERROR_CONNECTION_REFUSED ||
|
||||
aStatus == NS_ERROR_NET_TIMEOUT ||
|
||||
aStatus == NS_ERROR_NET_RESET)
|
||||
if (aStatus == NS_ERROR_UNKNOWN_HOST)
|
||||
{
|
||||
PRBool keywordsEnabled = PR_FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user