Changeset 261693 in webkit
- Timestamp:
- May 14, 2020 8:31:58 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r261692 r261693 1 2020-05-14 Andres Gonzalez <andresg_22@apple.com> 2 3 Fix for crash in LayoutTest in isolated tree mode. 4 https://bugs.webkit.org/show_bug.cgi?id=211894 5 6 Reviewed by Chris Fleizach. 7 8 Several LayoutTests. 9 10 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 11 (-[WebAccessibilityObjectWrapper accessibilityArrayAttributeValues:index:maxCount:]): Check backing object for nullity before dereferencing. 12 1 13 2020-05-14 Andres Gonzalez <andresg_22@apple.com> 2 14 -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r261687 r261693 4513 4513 WebAccessibilityObjectWrapper* wrapper = children[index]; 4514 4514 // The attachment view should be returned, otherwise AX palindrome errors occur. 4515 BOOL isAttachment = [wrapper isKindOfClass:[WebAccessibilityObjectWrapper class]] && wrapper.axBackingObject ->isAttachment() && [wrapper attachmentView];4515 BOOL isAttachment = [wrapper isKindOfClass:[WebAccessibilityObjectWrapper class]] && wrapper.axBackingObject && wrapper.axBackingObject->isAttachment() && [wrapper attachmentView]; 4516 4516 [subarray addObject:isAttachment ? [wrapper attachmentView] : wrapper]; 4517 4517 }
Note: See TracChangeset
for help on using the changeset viewer.