Bug 229261

Summary: [GTK][WPE] Test accessibility/element-line-rects-and-text.html fails since it was added in r281108
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=229045

Description Carlos Alberto Lopez Perez 2021-08-18 16:56:38 PDT
Test accessibility/element-line-rects-and-text.html fails since it was added in r281108. It produces this text result:

""""
CONSOLE MESSAGE: TypeError: null is not an object (evaluating 'lineRectsAndText.split')
This is some testing content. A link here. MOre text.
z
Another line of text.

Jack and Jill went up the hill to fetch a pail of water. Jack fell down...
abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz0123456789

This tests that lineRectsAndText returns the correct values.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).

TEST COMPLETE
""""

The most likely cause is that [WebAccessibilityObjectWrapper lineRectsAndText] is still not exposed on this platforms.
Comment 1 Radar WebKit Bug Importer 2021-08-18 16:56:50 PDT
<rdar://problem/82100699>
Comment 2 Carlos Alberto Lopez Perez 2021-08-18 18:16:31 PDT
Updated expectations on r281219