Support RemoteAccessible relation targets on Windows when the cache is disabled
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
(Whiteboard: [ctw-m3])
Attachments
(1 file)
Bug 1783094: Support non-cached RemoteAccessible relation targets in ia2Accessible relation methods.
48 bytes,
text/x-phabricator-request
|
Details | Review |
Currently, LocalAccessible::RelationByType can never return RemoteAccessibles. After bug 1782172, the EMBEDS relation might return a RemoteAccessible.
ia2Accessible relation methods use MsaaAccessible::GetFrom. When CTW is enabled, this is fine. However, when the cache is disabled, MsaaAccessible::GetFrom will return a stub which only holds the id and will crash if used by clients. We need to use MsaaAccessible::NativeAccessible instead.
Fixing this is annoying because we won't need this fix at all once CTW is the only code path. Such is life.
Assignee | ||
Comment 1•2 years ago
|
||
When the cache is disabled, MsaaAccessible::GetFrom won't give us an object we can return to the client.
Instead, we must use MsaaAccessible::NativeAccessible, which knows how to return a COM proxy in this case.
Comment 3•2 years ago
|
||
bugherder |
Description
•