зеркало из https://github.com/mozilla/gecko-dev.git
83a22d7047
The singleton AccessibleHandlerControl maintains a global cache generation counter which is incremented whenever any node is changed. The handler for each node tracks the cache generation at the time its cache was initialized. To check whether the cache needs to be updated, the handler compares its generation against the global generation from AccessibleHandlerControl. If they differ, it refreshes the cache. Previously, the handler didn't update its cache generation after refreshing. This meant that every single query after the first change would refresh the whole cache, even if there wasn't a second change. This resulted in a huge number of wasted cache updates for clients such as JAWS which hold onto accessibles, rather than releasing them and fetching them again for each update. MozReview-Commit-ID: 80d4n1cIjzQ --HG-- extra : rebase_source : a0903ddb33eba5381a232a661deaa3754b92406f |
||
---|---|---|
.. | ||
other | ||
win | ||
DocAccessibleChildBase.cpp | ||
DocAccessibleChildBase.h | ||
DocAccessibleParent.cpp | ||
DocAccessibleParent.h | ||
IPCTypes.h | ||
ProxyAccessibleBase.cpp | ||
ProxyAccessibleBase.h | ||
ProxyAccessibleShared.h | ||
moz.build |