Remove ISimpleDOM code that only works for LocalAccessible
Categories
(Core :: Disability Access APIs, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Content from the web itself has been rendered in a content process for a long time now. Cache the World shipped 2 years ago and the old implementation based on cross-process COM was removed. Practically, this means the only usable ISimpleDOM functionality is the code specific to RemoteAccessible, since the LocalAccessible code is only usable in Firefox's own UI. Thus, we should remove any ISimpleDOM functionality specific to LocalAccessible, which means most of it.
There is an ongoing effort between us, Chromium and AT vendors to remove ISimpleDOM altogether, but we're not quite there yet, so we can't just completely remove it.
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Comment 1•11 months ago
|
||
We have a lot of ISimpleDOM code which only works for LocalAccessible.
Because all web content uses RemoteAccessible now, practically, the only usable ISimpleDOM functionality is that which works for RemoteAccessible.
Therefore, remove all code that only works for LocalAccessible.
| Assignee | ||
Comment 2•11 months ago
|
||
Previously, the LocalAccessible implementation of ISimpleDOM allowed clients to walk to DOM nodes which were not included in the accessibility tree.
Thus, it was necessary for sdnAccessible to be constructed with either an Accessible or a DOM node.
Now that this functionality has been removed, we no longer need to support construction with a DOM node.
This allows other code such as QueryInterface to be simplified as well, since an sdnAccessible now always has a corresponding MsaaAccessible.
https://hg.mozilla.org/mozilla-central/rev/a8021b6e2b08
https://hg.mozilla.org/mozilla-central/rev/51b993ed6ee9
Description
•