Closed Bug 1725894 Opened 3 years ago Closed 3 years ago

Support IEnumVARIANT for remote children when the cache is enabled

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When the cache is enabled, IEnumVARIANT isn't currently supported for RemoteAccessibles. IEnumVARIANT makes it much faster for out-of-process clients to fetch all children, so we should support this.

Summary: Support IEnumVARIANT from remote children when the cache is enabled → Support IEnumVARIANT for remote children when the cache is enabled

As part of this, I changed RemoteAccessible::RemoteChildAt (and thus RemoteAccessible::ChildAt) so it doesn't crash when passed an invalid child index.
Our EnumVariant implementation relied on this with LocalChildAt.
I think it makes sense for LocalChildAt, RemoteChildAt and ChildAt to be consistent in this regard.

Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e3ff39009b1 Support IEnumVARIANT for RemoteAccessible when the cache is enabled. r=morgan
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: