AX: aria-checked not exposed correctly on menuitemcheckbox or menuitemradio roles https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/_/777.htm
<rdar://problem/13787768>
Expected AXMenuItemMarkChar: ✓
Created attachment 200390 [details] patch
Comment on attachment 200390 [details] patch Attachment 200390 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/388385 New failing tests: platform/mac/accessibility/aria-menuitem-checked-value.html
Created attachment 200393 [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.2
Created attachment 200416 [details] patch
Comment on attachment 200416 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=200416&action=review > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2301 > + return (m_object->isChecked()) ? @"â" : nil; this is the checkmark that the Mac returns for selected menu items
Comment on attachment 200416 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=200416&action=review >> Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2301 >> + return (m_object->isChecked()) ? @"â" : nil; > > this is the checkmark that the Mac returns for selected menu items Can we use [NSString stringWithUTF8String:"\xe2\x9c\x93"] instead? My understanding is that using unicode in objc string literals is a Bad Idea regardless of file encoding. Alexey or Dan would know better though.
IIRC this works just fine starting with Lion (as long as source file encoding is set to UTF-8 in Xcode project file).
Created attachment 200519 [details] patch
Created attachment 200520 [details] patch
Comment on attachment 200520 [details] patch Clearing flags on attachment: 200520 Committed r149581: <http://trac.webkit.org/changeset/149581>
All reviewed patches have been landed. Closing bug.