Closed Bug 1802866 Opened 1 year ago Closed 1 year ago

[CTW] Cleanup: Don't send empty cache pushes

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

While working on bug 1802297, I noticed that we sometimes send cache pushes with no data. This can happen if we're only sending tree pushes for moved Accessibles or if no Accessibles generate any cache data. While rare, this is wasteful and we shouldn't do it.

This can happen if we're pushing the tree for only moved (no new) Accessibles, since we don't send cache pushes for those.
It can also happen if an Accessible generates no cache data, which is rare but probably not impossible.
Making IPDL calls with no data is wasteful, so don't do it.

Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/74e216e951f9
Don't send a11y cache pushes containing no data. r=nlapre
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: