[Webkit-unassigned] [Bug 206093] AX: Unable to use AccessibilityObject::replaceTextInRange to insert text at first time when the text fields are empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 15 09:50:59 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206093

--- Comment #3 from chris fleizach <cfleizach at apple.com> ---
Comment on attachment 387722
  --> https://bugs.webkit.org/attachment.cgi?id=387722
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=387722&action=review

> Source/WebCore/accessibility/AccessibilityObject.cpp:1192
> +    if (!range.start && !range.length && !textLength)

I think I agree that this is an invalid range, but should be also be checking for an invalid range passed into replaceTextInRange?

also is the client that's calling into here doing any value checking before they send the range in?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200115/20555842/attachment.htm>


More information about the webkit-unassigned mailing list