gecko-dev/accessible
Nathan LaPre 385383c90c Bug 1794974: Part 7: Add caching granularity tests, r=Jamie
This revision implements the caching granularity tests. To do this, first it
adds some infrastructure to the accessibleTask function that allows a user of
addAccessibleTask to specify cache domains for the test. If they don't specify
cache domains, all domains are enabled. This way, existing mochitests and browser
tests can keep working with no modifications.

This revision adds utility functions for verifying the absence and presence of a
cache key, with a query function that pokes an accessible like an AT would in
order to trigger caching some domain.

Finally, this revision adds tests for every cache key in every cache domain. The
structure of the tests are: verify the attribute isn't cached (if possible),
then poke the acc like an AT to trigger caching, then verify the attribute has
been cached.

Differential Revision: https://phabricator.services.mozilla.com/D220041
2024-09-09 23:02:21 +00:00
..
android Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
aom Bug 1851273 - P1: Add accessible/ios directory. r=Jamie,morgan,nlapre 2024-03-04 21:11:49 +00:00
atk Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
base Bug 1794974: Part 5: Add code that requests new cache domains to remote accessibles, r=Jamie 2024-09-09 23:02:20 +00:00
basetypes Bug 1911518 - Don't use mozTextAccessible on container comboboxes. r=Jamie 2024-09-03 19:23:15 +00:00
docs Bug 1893033 - Expand a11y-checks debugging documentation in the Mochitest FAQ. r=Jamie 2024-05-06 16:32:54 +00:00
generic Bug 1794974: Part 3: Update BundleFieldsForCache for caching granularity, r=Jamie 2024-09-09 23:02:20 +00:00
html Bug 1906015 - part 2: Make the most `do_QueryInterface` users for `nsIFormControl` use new getter methods r=smaug,credential-management-reviewers,sessionstore-reviewers,sclements 2024-07-10 00:46:59 +00:00
interfaces Bug 1794974: Part 6: Add xpcAccessibilityService::setCacheDomains, r=Jamie 2024-09-09 23:02:21 +00:00
ios Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
ipc Bug 1794974: Part 5: Add code that requests new cache domains to remote accessibles, r=Jamie 2024-09-09 23:02:20 +00:00
mac Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
other Bug 1862802 part 1: Provide an argument to PlatformCaretMoveEvent specifying whether the event was caused by user input. r=eeejay 2023-11-29 03:53:19 +00:00
tests Bug 1794974: Part 7: Add caching granularity tests, r=Jamie 2024-09-09 23:02:21 +00:00
windows Bug 1794974: Part 5: Add code that requests new cache domains to remote accessibles, r=Jamie 2024-09-09 23:02:20 +00:00
xpcom Bug 1794974: Part 6: Add xpcAccessibilityService::setCacheDomains, r=Jamie 2024-09-09 23:02:21 +00:00
xul Bug 1909311 - Remove nsIFormControlFrame and nsITextControlFrame. r=masayuki,layout-reviewers,dholbert 2024-07-23 16:16:18 +00:00
moz.build Bug 1794974: Part 7: Add caching granularity tests, r=Jamie 2024-09-09 23:02:21 +00:00