Re-enable and fix AXSystemCaretWin tests
Enable these tests to catch regressions in the system caret accessibility object. Two changes were needed to get them passing: - When looking for the caret at a particular point on the screen, add the window offset to the expected position. - One test was checking that the caret position changed when the window position changed, including when maximizing the window. The handling for window maximize causes our internal caret object to be re-created on Win7 but not on Win10. The fix is to adjust the test to accept either behavior. Bug: 1067743 Change-Id: Ic6c0f4b7248874abb6a72c1419927e3677a8b453 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146085Reviewed-by:Nektarios Paisios <nektar@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#758919}
Showing
Please register or sign in to comment