зеркало из https://github.com/mozilla/pjs.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:
Родитель
b31bc7c547
Коммит
c103e759e0
|
@ -614,9 +614,8 @@ nsHTMLInputElement::Blur()
|
|||
if (NS_SUCCEEDED(rv)) {
|
||||
// Ask the frame to Deselect focus (i.e Blur).
|
||||
formControlFrame->SetFocus(PR_FALSE, PR_TRUE);
|
||||
return NS_OK;
|
||||
}
|
||||
return rv;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -642,7 +641,7 @@ nsHTMLInputElement::Focus()
|
|||
}
|
||||
}
|
||||
|
||||
return rv;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -614,9 +614,8 @@ nsHTMLInputElement::Blur()
|
|||
if (NS_SUCCEEDED(rv)) {
|
||||
// Ask the frame to Deselect focus (i.e Blur).
|
||||
formControlFrame->SetFocus(PR_FALSE, PR_TRUE);
|
||||
return NS_OK;
|
||||
}
|
||||
return rv;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -642,7 +641,7 @@ nsHTMLInputElement::Focus()
|
|||
}
|
||||
}
|
||||
|
||||
return rv;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче