Changeset 286052 in webkit
- Timestamp:
- Nov 19, 2021, 1:01:37 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/glib/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/glib/accessibility/add-children-pseudo-element-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/glib/accessibility/aria-modal-text-descendants-expected.txt (added)
-
LayoutTests/platform/glib/accessibility/table-cell-display-block-expected.txt (added)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp (modified) (1 diff)
-
Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r286049 r286052 1 2021-11-19 Arcady Goldmints-Orlov <agoldmints@igalia.com> 2 3 REGRESSION(r285859) [GTK][WPE] a number of accessibility/* tests crash on GTK and WPE 4 https://bugs.webkit.org/show_bug.cgi?id=233221 5 6 Reviewed by Carlos Garcia Campos. 7 8 * platform/glib/TestExpectations: 9 * platform/glib/accessibility/add-children-pseudo-element-expected.txt: 10 * platform/glib/accessibility/aria-modal-text-descendants-expected.txt: Added. 11 * platform/glib/accessibility/table-cell-display-block-expected.txt: Added. 12 1 13 2021-11-18 Frédéric Wang <fwang@igalia.com> 2 14 -
trunk/LayoutTests/platform/glib/TestExpectations
r285855 r286052 2014 2014 webkit.org/b/160248 fast/text/trailing-word-detection.html [ Failure ] 2015 2015 webkit.org/b/160249 fast/shrink-wrap/rect-shrink-wrap.html [ ImageOnlyFailure ] 2016 webkit.org/b/161583 accessibility/auto-fill-types.html [ Failure]2016 webkit.org/b/161583 accessibility/auto-fill-types.html [ Timeout ] 2017 2017 webkit.org/b/161589 css3/masking/mask-repeat-space-padding.html [ ImageOnlyFailure ] 2018 2018 webkit.org/b/162815 fast/text/variations/font-face-clamp.html [ ImageOnlyFailure ] -
trunk/LayoutTests/platform/glib/accessibility/add-children-pseudo-element-expected.txt
r267644 r286052 1 Language Email2 1 Make sure that we are updating the render block flow element's children correctly. 3 2 … … 6 5 7 6 PASS element.childrenCount is 2 8 PASS element.childrenCount is17 PASS element.childrenCount === 1 9 8 PASS successfullyParsed is true 10 9 -
trunk/Tools/ChangeLog
r286050 r286052 1 2021-11-19 Arcady Goldmints-Orlov <agoldmints@igalia.com> 2 3 REGRESSION(r285859) [GTK][WPE] a number of accessibility/* tests crash on GTK and WPE 4 https://bugs.webkit.org/show_bug.cgi?id=233221 5 6 Reviewed by Carlos Garcia Campos. 7 8 Add null checks in the ATK code to ensure AccessibilityUIElement::create() 9 is not passed a NULL pointer. 10 11 * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp: 12 (WTR::AccessibilityController::focusedElement): 13 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 14 (WTR::AccessibilityUIElement::getChildren): 15 (WTR::AccessibilityUIElement::getChildrenWithRange): 16 1 17 2021-11-19 Carlos Garcia Campos <cgarcia@igalia.com> 2 18 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp
r285859 r286052 118 118 void* root = WKAccessibilityFocusedObject(page); 119 119 120 if (!ATK_IS_OBJECT(root)) 121 return nullptr; 122 120 123 return AccessibilityUIElement::create(static_cast<AtkObject*>(root)); 121 124 } -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r282643 r286052 746 746 for (int i = 0; i < count; i++) { 747 747 GRefPtr<AtkObject> child = adoptGRef(atk_object_ref_accessible_child(ATK_OBJECT(m_element.get()), i)); 748 749 if (!ATK_IS_OBJECT(child.get())) 750 continue; 751 748 752 children.append(AccessibilityUIElement::create(child.get())); 749 753 } … … 757 761 for (unsigned i = location; i < end; i++) { 758 762 GRefPtr<AtkObject> child = adoptGRef(atk_object_ref_accessible_child(ATK_OBJECT(m_element.get()), i)); 763 764 if (!ATK_IS_OBJECT(child.get())) 765 continue; 766 759 767 children.append(AccessibilityUIElement::create(child.get())); 760 768 }
Note:
See TracChangeset
for help on using the changeset viewer.