Changeset 167012 in webkit
- Timestamp:
- Apr 9, 2014 8:08:17 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167011 r167012 1 2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com> 2 3 [GTK] Layout tests accessibility/children-changed-sends-notification.html and accessibility/notification-listeners.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=131380 5 6 Reviewed by Chris Fleizach. 7 8 Updated TestExpectations file and update layout test that was not 9 correctly written, and expecting the signals in the wrong order. 10 11 * platform/gtk/TestExpectations: Removed failure expectations. 12 13 * accessibility/children-changed-sends-notification.html: Updated 14 test to make sure we touch the accessibility tree after adding a 15 <button> so we get the 'add' signal at the right moment. 16 17 * accessibility/children-changed-sends-notification-expected.txt: 18 Updated expectations to expect the 'add' and 'remove' signals in 19 the right order. 20 1 21 2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com> 2 22 -
trunk/LayoutTests/accessibility/children-changed-sends-notification-expected.txt
r161966 r167012 7 7 8 8 End of test 9 PARAGRAPH notification: AXChildrenAdded 10 GLOBAL notification: AXChildrenAdded on element with role AXRole: AXParagraph 9 11 PARAGRAPH notification: AXChildrenRemoved 10 12 GLOBAL notification: AXChildrenRemoved on element with role AXRole: AXParagraph 11 PARAGRAPH notification: AXChildrenAdded12 GLOBAL notification: AXChildrenAdded on element with role AXRole: AXParagraph13 13 PASS paragraphNotificationCount is globalNotificationCount 14 14 PASS globalNotificationCount is 2 -
trunk/LayoutTests/accessibility/children-changed-sends-notification.html
r160903 r167012 58 58 par.appendChild(newChild); 59 59 60 // Ensure the new child is added. 61 touchAccessibilityTree(axWebArea); 62 60 63 window.setTimeout(function() { 61 64 var link = document.getElementById('testLink'); -
trunk/LayoutTests/platform/gtk/TestExpectations
r167011 r167012 1058 1058 webkit.org/b/106340 accessibility/img-fallsback-to-title.html [ Failure ] 1059 1059 1060 webkit.org/b/131380 accessibility/children-changed-sends-notification.html [ Failure ]1061 webkit.org/b/131380 accessibility/notification-listeners.html [ Failure ]1062 1063 1060 # svg/ failures 1064 1061 webkit.org/b/42457 svg/custom/embedded-svg-allowed-in-dashboard.xml [ Failure ] -
trunk/Source/WebCore/ChangeLog
r167011 r167012 1 2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com> 2 3 [GTK] Layout tests accessibility/children-changed-sends-notification.html and accessibility/notification-listeners.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=131380 5 6 Reviewed by Chris Fleizach. 7 8 Don't emit signals for added objects that we know won't be exposed 9 to the accessibility hierarchy (e.g. static text). 10 11 * accessibility/atk/AXObjectCacheAtk.cpp: 12 (WebCore::AXObjectCache::attachWrapper): Add extra check and early return. 13 1 14 2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com> 2 15 -
trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp
r166288 r167012 77 77 return; 78 78 79 // Don't emit the signal for objects that we already know won't be exposed directly. 79 // Don't emit the signal when the actual object being added is not going to be exposed. 80 if (obj->accessibilityIsIgnoredByDefault()) 81 return; 82 83 // Don't emit the signal for objects whose parents won't be exposed directly. 80 84 AccessibilityObject* coreParent = obj->parentObjectUnignored(); 81 85 if (!coreParent || coreParent->accessibilityIsIgnoredByDefault())
Note: See TracChangeset
for help on using the changeset viewer.