Bug 51911

Summary: GTK: AX: DRT needs to use correct root object method.
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: mrobinson, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mrobinson: review+

Description chris fleizach 2011-01-04 18:07:24 PST
GTK needs to get the correct accessibility root object by using axObjectCache() root object.
Comment 1 chris fleizach 2011-01-04 18:10:44 PST
Created attachment 77958 [details]
Patch
Comment 2 chris fleizach 2011-01-04 18:11:31 PST
we can also use this bug to address the fact that DRT is crashing a lot now. I need some help figuring out what's going on there, since I can't see the crash logs.
Comment 3 Martin Robinson 2011-01-04 18:36:29 PST
Here are the crash logs for the GTK+ bots: http://webkit-bots.igalia.com/
Comment 4 chris fleizach 2011-01-04 23:56:12 PST
looks like i fixed the layout test crashing. i suspect the API tests may still fail, don't know if I can fix those on my own
Comment 5 Martin Robinson 2011-01-05 00:14:24 PST
Comment on attachment 77958 [details]
Patch

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

Thanks for the fix!

> Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:63
> +    AtkObject* accessible =  DumpRenderTreeSupportGtk::getRootAccessibleElement(mainFrame);

There's an extra space here after =.
Comment 6 chris fleizach 2011-01-05 09:31:58 PST
http://trac.webkit.org/changeset/75072