mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
132a49a8a1
When marshaling a11y calls from the content process, there are quite a lot of cross-thread QueryInterface calls (ipc::mscom::Interceptor::QueryInterfaceTarget). Some of these are for special COM interfaces like IAgileObject and IFastRundown, which we could just special case in Interceptor::QueryInterface like we do for INoMarshal. However, it seems there are a lot of other interfaces being queried and it's not clear why. This patch adds a new HandlerProvider method: IsInterfaceMaybeSupported. This allows implementations to indicate when there are interfaces which they definitely don't support, allowing the call to be answered without a cross-thread call. Differential Revision: https://phabricator.services.mozilla.com/D69285 --HG-- extra : moz-landing-system : lando