Closed Bug 1985461 Opened 1 month ago Closed 1 month ago

Add tests for Windows caret code

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

The fake Windows caret managed by the accessibility engine is used by Windows Magnifier and probably other tools. We added tests exercising GetCaretRect in bug 1828295. However, the Windows caret broke in bug 1984045 even though those tests were passing because the rect provided to the Windows code was offset to that returned by GetCaretRect. Bug 1976137 simplifies this a lot and now it's a direct call to GetCaretRect in all cases. Even so, now that we can test Windows accessibility APIs in automation, I think it's worth having a simple Windows specific test which exercises the Windows caret code, just to make sure we don't regress this again somehow. We can use OBJID_CARET to get an MSAA representation of the Windows caret.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
QA Whiteboard: [qa-triage-done-c145/b144]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: