mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
8cb1edbab3
The new detection code introduced in bug 1838123 doesn't work on Windows 10. This patch: 1. Splits the Windows 11 code into its own function. 2. Refactors the system handle enumeration code into its own function which can be called with a lambda, since it is needed for both Windows 11 and Windows 10. 3. Adds code to detect clients on Windows 10 based on the old detection code before bug 1838123, with some noteworthy changes: - Hooking the UIA window message doesn't work; our hook runs too late. It also doesn't work well for blocking; some clients will very likely poke us more than the maximum attempts in the old code (5 times). - Instead, we run this code as part of LazyInstantiator::ShouldInstantiate, just as we do for all other client detection. - This means we use the same UIA detection caching strategy; i.e. reset on foreground changes. - It also means we reuse the same instantiator setting and block listing code in LazyInstantiator. Differential Revision: https://phabricator.services.mozilla.com/D185627 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |