[Webkit-unassigned] [Bug 20013] Windows AX heuristics are poor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 22 00:25:32 PDT 2008


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





------- Comment #71 from eric at webkit.org  2008-08-22 00:25 PDT -------
(In reply to comment #70)
> Jon/Eric,
> I have been doing the development on Windows Machine only. I have not done any
> type of development on MAC. It would be great if you can provide some pointers
> to any documents that specify the steps to create the Accessibility layout
> tests on Windows.
> 
> ~ Thanks.

http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/AccessibilityController.h
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/AccessibilityController.cpp
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/AccessibilityUIElement.h
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp
and
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/mac/AccessibilityControllerMac.mm
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/mac/AccessibilityUIElementMac.mm

Show how we support AX layout tests on mac using AccessibilityController an
AccessibilityUIElement.

The problem is the windows-specific bits (for tying into Windows AX apis) have
not been written yet in:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/win
(AccessibilityControllerWin.cpp and AccessibilityUIElementWin.cpp don't exist
yet)

Adding support for such is outside the scope of this bug, but until it's done,
it is (as darin and Jon have pointed out), very difficult to assure the
correctness of any changes to windows-specific AX support.

If you're looking for examples of Accessibility layout tests, they can be found
here:
http://trac.webkit.org/browser/trunk/LayoutTests/accessibility
you can look at the .html files and the -expected.txt files to see how these
AccessibilityController and AccessibilityUIElement objects are accessed via
these javascript-based tests.

But again, those tests are disabled when running "run-webkit-tests" on Windows:
http://trac.webkit.org/browser/trunk/LayoutTests/platform/win/Skipped#L409

If you were to use "run-webkit-tests" on a Mac it would correctly run the
accessibility tests.  Unfortunately that doesn't help you much when you're
trying to make windows-specific changes to our AX support. :)  When you change
common/cross-platform files, however, it is helpful to be able to
run-webkit-tests on a mac to see what results have changed for the
accessibility tests.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list