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

This commit is contained in:
Ark74 2026-05-04 22:51:47 -06:00
parent 9b41efc5d4
commit 99b319ae69
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.