Make web document navigation survive live-updating pages

Recreated-node caret recovery, tolerant caret validation, per-root retained document trees and cursors across tab switches, document warm-up, coalesced structural moves, and hung-provider fast-fail with an 'Application is not responding' announcement.
This commit is contained in:
hjozwiak committed 2026-11-03 10:34:55 -05:00
1 parent 8ce5e5cdad
commit 7eef6e8be6
30 files changed
+1484 -174

No files matched your search

+3
View File
@@ -95,6 +95,7 @@ func (handler *accessibilityEventHandler) handleLifecycle(event atspi.Event) boo
browser.loaded(event.Source.ID())
if objectReview != nil {
objectReview.ResetDocument(event.Source.ID())
objectReview.WarmDocument()
}
}
return true
@@ -134,6 +135,8 @@ func (handler *accessibilityEventHandler) handleLifecycle(event atspi.Event) boo
if err := objectReview.JumpToDocumentFragment(event.DocumentFragment); err != nil {
logger.Warn("queue document fragment navigation", "error", err)
}
} else {
objectReview.WarmDocument()
}
}
if !alreadyAnnounced {