icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -754,7 +754,7 @@ void nsTextControlFrame::OnFocus() {
return;
}
mozilla::PresShell* presShell = PresShell();
RefPtr<mozilla::PresShell> presShell = PresShell();
RefPtr<nsCaret> caret = presShell->GetCaret();
if (!caret) {
return;
@ -776,6 +776,9 @@ void nsTextControlFrame::OnFocus() {
if (!docSel->IsCollapsed()) {
docSel->RemoveAllRanges(IgnoreErrors());
}
if (presShell->IsDestroying()) {
return;
}
// If the focus moved to a text control during text selection by pointer
// device, stop extending the selection.