зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
a115413fc8
Коммит
57dd52715a
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче