Web fixes.
This commit is contained in:
1 parent
914d174925
commit
453206b85b
11 files changed
+643
-25
No files matched your search
@@ -250,6 +250,14 @@ func captureNativeTree(ctx context.Context, root *C.AtspiAccessible, reviewBusNa
|
||||
// A visibility change can reveal children omitted by an earlier review
|
||||
// capture, even when the provider emits no children-changed event.
|
||||
cachedChildren := known && !cached.childrenInvalid && !cached.childrenUnavailable && (!reviewOnly || !cached.geometryInvalid)
|
||||
if document && snapshot.Role == "internal frame" {
|
||||
// Chromium can replace a sibling iframe document without an
|
||||
// invalidation for its retained frame object. Refresh this boundary
|
||||
// on recapture so a successful header action cannot leave the old
|
||||
// content document pinned in either our cache or libatspi's cache.
|
||||
cachedChildren = false
|
||||
C.atspi_accessible_clear_cache_single(source)
|
||||
}
|
||||
childrenUnavailable := false
|
||||
for _, id := range cached.children {
|
||||
if cache.sources[id] == nil {
|
||||
|
||||
Reference in new issue
Block a user