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