зеркало из https://github.com/mozilla/gecko-dev.git
385383c90c
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 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ios | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |