Changeset 145231 in webkit
- Timestamp:
- Mar 8, 2013 8:59:16 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r145228 r145231 1 2013-03-08 Chris Fleizach <cfleizach@apple.com> 2 3 [Mac] [WK2] platform/mac/accessibility/press-action-is-first.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=111814 5 6 Reviewed by Ryosuke Niwa. 7 8 * platform/mac-wk2/TestExpectations: 9 1 10 2013-03-08 Sudarsana Nagineni <sudarsana.nagineni@intel.com> 2 11 -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r145177 r145231 318 318 webkit.org/b/109890 [ Debug ] platform/mac-wk2/plugins/destroy-during-async-npp-new.html [ Crash ] 319 319 320 webkit.org/b/111814 platform/mac/accessibility/press-action-is-first.html [ Failure ]321 322 320 webkit.org/b/111815 http/tests/security/cross-frame-access-put.html [ Failure ] 323 321 -
trunk/Tools/ChangeLog
r145217 r145231 1 2013-03-08 Chris Fleizach <cfleizach@apple.com> 2 3 [Mac] [WK2] platform/mac/accessibility/press-action-is-first.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=111814 5 6 Reviewed by Ryosuke Niwa. 7 8 Add the needed supportedActions() attribute to WKTestRunner. 9 10 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: 11 (WTR::AccessibilityUIElement::supportedActions): 12 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: 13 (AccessibilityUIElement): 14 * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: 15 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: 16 (WTR::AccessibilityUIElement::supportedActions): 17 1 18 2013-03-08 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 19 -
trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp
r144237 r145231 181 181 PassRefPtr<AccessibilityTextMarker> AccessibilityUIElement::textMarkerForIndex(int) { return 0; } 182 182 void AccessibilityUIElement::scrollToMakeVisible() { } 183 JSRetainPtr<JSStringRef> AccessibilityUIElement::supportedActions() const { return 0; } 183 184 #endif 184 185 -
trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h
r144237 r145231 230 230 PassRefPtr<AccessibilityTextMarker> textMarkerForIndex(int); 231 231 232 // Returns an ordered list of supported actions for an element. 233 JSRetainPtr<JSStringRef> supportedActions() const; 234 232 235 // Notifications 233 236 // Function callback should take one argument, the name of the notification. -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl
r144237 r145231 167 167 AccessibilityTextMarker textMarkerForIndex(in int textIndex); 168 168 169 // Returns an ordered list of supported actions for an element. 170 readonly attribute DOMString supportedActions; 171 169 172 // Notification support. 170 173 boolean addNotificationListener(in object callbackFunction); -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm
r144237 r145231 1446 1446 } 1447 1447 1448 JSRetainPtr<JSStringRef> AccessibilityUIElement::supportedActions() const 1449 { 1450 BEGIN_AX_OBJC_EXCEPTIONS 1451 NSArray *names = [m_element accessibilityActionNames]; 1452 return [[names componentsJoinedByString:@","] createJSStringRef]; 1453 END_AX_OBJC_EXCEPTIONS 1454 1455 return 0; 1456 } 1448 1457 1449 1458 } // namespace WTR
Note: See TracChangeset
for help on using the changeset viewer.