nvda
20e030cf - Fix error fetching details (PR #13456)

Commit
3 years ago
Fix error fetching details (PR #13456) Summary: - Gecko applications (Firefox / thunderbird / instantbird) were occasionally raising a COM error "No such interface supported" when aria-details relation is fetched. - This exception should be handled as per getIA2RelationFirstTarget. Additionally: - getIA2RelationFirstTarget failed to convert IUnknown to NVDAObject.IAccessible. This was missed due to failure with typing system, ctypes.POINTER(IUnknown) is not recognized and becomes Any. - Unnecessary Firefox error logging on a missing detailsSummary. This change: - Prevent ComError escaping when checking for aria-details by using getIA2RelationFirstTarget directly. - Ensure that IUnkown is converted to an IAccessible in getIA2RelationFirstTarget - Remove unnecessary Firefox error log on missing detailsSummary. Fixes #13433 Fixes #13430
Author
Parents
Loading