NEW237820
[WPE] accessibility/native-text-control-attributed-string.html is timing out since added in 247692@main
https://bugs.webkit.org/show_bug.cgi?id=237820
Summary [WPE] accessibility/native-text-control-attributed-string.html is timing out ...
Lauro Moura
Reported 2022-03-13 22:52:21 PDT
accessibility/native-text-control-attributed-string.html When the test invokes textField.attributedStringForRange(), it uses the attributes' start and end offsets to show the substring related to these attributes. But during the calculation of the endOffset, it returns early with 0 from inside HTMLTextFormControlElement::indexForVisiblePosition. There the check for `!innerText->contains(position.deepEquivalent().anchorNode())` fails. This causes attributedStringForRange() to loop infinitely over the same indexes (or loop wrongly, if the location given to it is different from zero).
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-13 22:52:32 PDT
Radar WebKit Bug Importer
Comment 2 2022-03-13 22:54:50 PDT
Note You need to log in before you can comment on or make changes to this bug.