RESOLVED FIXED 125451
AX: [ATK] Convert the get_{string,text}_at_offset atktest.c unit tests to layout tests
https://bugs.webkit.org/show_bug.cgi?id=125451
Summary AX: [ATK] Convert the get_{string,text}_at_offset atktest.c unit tests to lay...
Joanmarie Diggs
Reported 2013-12-09 07:12:14 PST
Convert the get_{string,text}_at_offset atktest.c unit tests to layout tests.
Attachments
Patch (85.38 KB, patch)
2013-12-09 07:29 PST, Joanmarie Diggs
no flags
Patch (88.75 KB, patch)
2013-12-09 08:37 PST, Joanmarie Diggs
no flags
Patch (88.79 KB, patch)
2013-12-09 09:34 PST, Joanmarie Diggs
no flags
Patch (88.40 KB, patch)
2013-12-09 10:04 PST, Joanmarie Diggs
no flags
Joanmarie Diggs
Comment 1 2013-12-09 07:29:10 PST
Build Bot
Comment 2 2013-12-09 08:04:08 PST
Build Bot
Comment 3 2013-12-09 08:13:04 PST
Mario Sanchez Prada
Comment 4 2013-12-09 08:16:20 PST
View in context: https://bugs.webkit.org/attachment.cgi?id=218757&action=review I love this patch. I'm happy to let it in as soon as the Mac build is fixed > Source/WebKit/gtk/tests/testatk.c:-1070 > - webkit_web_view_load_string(webView, contentsWithEmbeddedObjects, 0, 0, 0); Could you remove the contentsWithEmbeddedObjects const variable, as it's not used anymore after the patch? Same applies to other ones that might not be unused too after this > Tools/DumpRenderTree/AccessibilityUIElement.h:220 > + // Text-specific > + JSStringRef characterAtOffset(int offset); > + JSStringRef wordAtOffset(int offset); > + JSStringRef lineAtOffset(int offset); > + JSStringRef sentenceAtOffset(int offset); This functions are quite specifically designed to test the AtkText interface, so I think you should put them under a PLATFORM check for GTK || EFL Otherwise, you'll need to provide dummy implementations for other platforms's versions of AccessibilityUIElement
Build Bot
Comment 5 2013-12-09 08:27:27 PST
Joanmarie Diggs
Comment 6 2013-12-09 08:37:42 PST
Build Bot
Comment 7 2013-12-09 09:13:02 PST
Build Bot
Comment 8 2013-12-09 09:19:52 PST
Joanmarie Diggs
Comment 9 2013-12-09 09:34:23 PST
Build Bot
Comment 10 2013-12-09 09:40:46 PST
Joanmarie Diggs
Comment 11 2013-12-09 10:04:07 PST
Mario Sanchez Prada
Comment 12 2013-12-09 10:32:48 PST
Comment on attachment 218772 [details] Patch Great. Let's try this now (and watch)
WebKit Commit Bot
Comment 13 2013-12-09 10:37:13 PST
Comment on attachment 218772 [details] Patch Clearing flags on attachment: 218772 Committed r160316: <http://trac.webkit.org/changeset/160316>
WebKit Commit Bot
Comment 14 2013-12-09 10:37:16 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.