From e972f168f6af2df09390e99f56019a2fb1bb4d0b Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Wed, 28 Jan 2004 21:32:00 +0000 Subject: [PATCH] 184433 Internet Keywords triggered by "connection refused" errors. fix it to only trigger if the hostname is unknown. patch by Jerry Talkington r=adamlock sr=darin git-svn-id: svn://10.0.0.236/trunk@151975 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 1863ce6f553..2eee88e0a8f 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -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;