Changeset 200054 in webkit
- Timestamp:
- Apr 25, 2016 3:40:45 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r200051 r200054 1 2016-04-25 Nan Wang <n_wang@apple.com> 2 3 AX: Crash at -[WebAccessibilityObjectWrapper accessibilityAttributeValue:] + 4391 4 https://bugs.webkit.org/show_bug.cgi?id=156987 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/mac/slider-thumb-value-crash-expected.txt: Added. 9 * accessibility/mac/slider-thumb-value-crash.html: Added. 10 1 11 2016-04-25 Brady Eidson <beidson@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r200052 r200054 1 2016-04-25 Nan Wang <n_wang@apple.com> 2 3 AX: Crash at -[WebAccessibilityObjectWrapper accessibilityAttributeValue:] + 4391 4 https://bugs.webkit.org/show_bug.cgi?id=156987 5 6 Reviewed by Chris Fleizach. 7 8 When we hit test on a slider indicator asking for the value when the parent slider's 9 accessibility object is not created or the parent slider has been removed, it will cause 10 crash. Fixed it by adding a check to see if the object is detached from the parent. 11 12 Test: accessibility/mac/slider-thumb-value-crash.html 13 14 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 15 (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): 16 1 17 2016-04-25 Jer Noble <jer.noble@apple.com> 2 18 -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r199260 r200054 2562 2562 return nil; 2563 2563 2564 if (m_object->isDetachedFromParent()) 2565 return nil; 2566 2564 2567 if ([attributeName isEqualToString: NSAccessibilityRoleAttribute]) 2565 2568 return [self role];
Note: See TracChangeset
for help on using the changeset viewer.