Trivial change to cut down on the noice in bug reports by not returning internal errors back to JS, this fixes harmless, but annoying JS exceptions when mousing over chromeless windows. r=waterson.

This commit is contained in:
jst%netscape.com 2000-07-20 06:11:22 +00:00
Родитель 1c841a3606
Коммит 9724edaa51
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -614,9 +614,8 @@ nsHTMLInputElement::Blur()
if (NS_SUCCEEDED(rv)) { if (NS_SUCCEEDED(rv)) {
// Ask the frame to Deselect focus (i.e Blur). // Ask the frame to Deselect focus (i.e Blur).
formControlFrame->SetFocus(PR_FALSE, PR_TRUE); formControlFrame->SetFocus(PR_FALSE, PR_TRUE);
return NS_OK;
} }
return rv; return NS_OK;
} }
NS_IMETHODIMP NS_IMETHODIMP
@ -642,7 +641,7 @@ nsHTMLInputElement::Focus()
} }
} }
return rv; return NS_OK;
} }
NS_IMETHODIMP NS_IMETHODIMP

Просмотреть файл

@ -614,9 +614,8 @@ nsHTMLInputElement::Blur()
if (NS_SUCCEEDED(rv)) { if (NS_SUCCEEDED(rv)) {
// Ask the frame to Deselect focus (i.e Blur). // Ask the frame to Deselect focus (i.e Blur).
formControlFrame->SetFocus(PR_FALSE, PR_TRUE); formControlFrame->SetFocus(PR_FALSE, PR_TRUE);
return NS_OK;
} }
return rv; return NS_OK;
} }
NS_IMETHODIMP NS_IMETHODIMP
@ -642,7 +641,7 @@ nsHTMLInputElement::Focus()
} }
} }
return rv; return NS_OK;
} }
NS_IMETHODIMP NS_IMETHODIMP