Closed Bug 2010236 Opened 2 months ago Closed 2 months ago

Prepare for expanded platform coverage of announcement events

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Currently, announcement events are only implemented on Android. In addition, for vestigial reasons related to the pre-CtW architecture, even the core cross-platform support for these events isn't built on Windows. We need to support announcement events on more platforms for ariaNotify. This bug will clean up and prepare for that additional platform support, but the specific support for each platform will be handled in separate bugs.

Everything is e10s now and there's an obvious, intuitive place for this to move, so let's move it.

Assignee: nobody → jteh
Status: NEW → ASSIGNED

Announcements should always be initiated from the content process.
There's no reason for them to be initiated from the parent process directly on a RemoteAccessible.
Previously, this was only used for testing purposes.
Instead, we can have the test execute the announce call in the content process.
This also allows us to use the same browser test for both LocalAccessible and RemoteAccessible.
In turn, that means we no longer need the (local-only) mochitest.

Previously, for vestigial reasons related to the pre-CtW architecture, the core cross-platform support for announcement events wasn't built on Windows.
This is no longer relevant and we need to support them on Windows soon.
This allows us to enable the cross-platform announcement event tests on Windows.

There is only a platform specific implementation of announcement events for Android.
As such, previously, PlatformAnnouncementEvent was only built for Android via ifdefs.
We will soon support this on several other platforms.
Therefore, remove the ifdefs and add empty stubs for other platforms.

Attachment #9537441 - Attachment description: Bug 2010236 part 2: Remove RemoteAccessible::Announce. r?eeejay → Bug 2010236 part 2: Remove RemoteAccessible::Announce.
Attachment #9537442 - Attachment description: Bug 2010236 part 3: Enable cross-platform announcement event code for Windows. r?eeejay → Bug 2010236 part 3: Enable cross-platform announcement event code for Windows.
No longer blocks: 2010244, 2010428
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: