Closed Bug 1627832 Opened 4 years ago Closed 4 years ago

Prune all invisible children of top-level window

Categories

(Core :: Disability Access APIs, defect, P1)

All
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [mac2020_1])

Attachments

(1 file)

XUL hides panes, menus tooltips, list tboxes and alerts with an INVISIBLE state. We should just prune any child with an INVISIBLE state.

Earlier I was trying to do this in a case by case fashion because I didn't want to upset our children cache since there was no bombproof way to know when a child becomes visible again.

If we remove caching, we can do it easily and then worry about notifying the user about popups/autocompletes/doorhangers on a case-by-case basis.

Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c6e827e0ce79
Prune all invisible children of root window accessible. r=morgan
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: