зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
0626698a9a
Коммит
735aba1033
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче