Fix error fetching details#13456
Merged
Merged
Conversation
Use _getIA2RelationFirstTarget which falls back to iterating over _IA2Relations if IA2_2 is not available.
Added typing where it could be inferred.
seanbudd
previously approved these changes
Mar 10, 2022
seanbudd
left a comment
Member
There was a problem hiding this comment.
Looks good to me, I've added some missing type suggestions that can be added if they are accurate.
Co-authored-by: Sean Budd <sean@nvaccess.org>
Contributor
Author
|
Stacked PR's don't get built automatically, I'd like to get confirmation from reporters that this resolves the issue. The following try-build has been started: |
Contributor
Author
This was referenced Mar 11, 2022
michaelDCurran
previously approved these changes
Mar 13, 2022
Contributor
Author
|
The reporters have indicated on-going errors still. I'll investigate further. |
Contributor
Author
Contributor
Author
|
Both reporters have confirmed the issue is resolved. |
michaelDCurran
requested changes
Mar 15, 2022
michaelDCurran
approved these changes
Mar 15, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Fixes #13433
Fixes #13430
Summary of the issue:
Gecko applications (Firefox / thunderbird / instantbird) occasionally are raising a COM error "No such interface supported"
when aria-details relation is fetched.
This exception should be handled as per
getIA2RelationFirstTarget.Additionally:
getIA2RelationFirstTargetfailed to convert IUnknown to NVDAObject.IAccessible. This was missed due to failure with typing system,ctypes.POINTER(IUnknown)is not recognised and becomesAny.Description of how this pull request fixes the issue:
getIA2RelationFirstTargetdirectly.getIA2RelationFirstTargetTesting strategy:
Using https://codepen.io/reefturner/pen/RwjBXPv
Test reporting details in firefox and in Edge.
Known issues with pull request:
None
Change log entries:
None
Code Review Checklist: