RESOLVED FIXED 117389
[Windows] Provide MSAA mappings for more WebCore data types
https://bugs.webkit.org/show_bug.cgi?id=117389
Summary [Windows] Provide MSAA mappings for more WebCore data types
Brent Fulgham
Reported 2013-06-09 20:38:08 PDT
Several of the WebCore elements exposed through our accessibility layer default to ROLE_SYSTEM_CLIENT, even though there are more specific roles defined in the MSAA documentation (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd373608(v=vs.85).aspx). This patch adds mappings for a number of WebCore types that were not previously being handled.
Attachments
Patch (5.37 KB, patch)
2013-06-09 20:40 PDT, Brent Fulgham
no flags
Update based on contents of WebAccessibilityObjectWrapperMac.mm to more closely match that behavior. (7.22 KB, patch)
2013-06-10 18:16 PDT, Brent Fulgham
cfleizach: review+
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (640.11 KB, application/zip)
2013-06-10 22:43 PDT, Build Bot
no flags
Brent Fulgham
Comment 1 2013-06-09 20:40:24 PDT
Brent Fulgham
Comment 2 2013-06-09 20:41:57 PDT
Brent Fulgham
Comment 3 2013-06-10 18:16:32 PDT
Created attachment 204273 [details] Update based on contents of WebAccessibilityObjectWrapperMac.mm to more closely match that behavior.
chris fleizach
Comment 4 2013-06-10 18:24:58 PDT
Comment on attachment 204273 [details] Update based on contents of WebAccessibilityObjectWrapperMac.mm to more closely match that behavior. View in context: https://bugs.webkit.org/attachment.cgi?id=204273&action=review > Source/WebKit/win/AccessibleBase.cpp:780 > default: do you think we might want to assert or remove the default here. That way someone can take an intelligent look at MSAA roles and choose the right one when new Web roles are added
Build Bot
Comment 5 2013-06-10 22:43:50 PDT
Comment on attachment 204273 [details] Update based on contents of WebAccessibilityObjectWrapperMac.mm to more closely match that behavior. Attachment 204273 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/740503 New failing tests: http/tests/security/cross-origin-plugin-private-browsing-toggled.html
Build Bot
Comment 6 2013-06-10 22:43:51 PDT
Created attachment 204287 [details] Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Brent Fulgham
Comment 7 2013-06-10 23:35:10 PDT
Clearly the Mac EWS failure has nothing to do with these changes to Windows-platform specific files.
Brent Fulgham
Comment 8 2013-06-11 08:31:43 PDT
(In reply to comment #4) > (From update of attachment 204273 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=204273&action=review > > > Source/WebKit/win/AccessibleBase.cpp:780 > > default: > > do you think we might want to assert or remove the default here. That way someone can take an intelligent look at MSAA roles and choose the right one when new Web roles are added That makes a lot of sense, but I don't think all Web roles are currently covered by the Windows (or Mac) mappings. If we were to add an ASSERT here, I would prefer to make sure we currently map all Web roles to accessibility types so that we start from a known good state.
Brent Fulgham
Comment 9 2013-06-11 08:32:35 PDT
Note You need to log in before you can comment on or make changes to this bug.