Changeset 263573 in webkit
- Timestamp:
- Jun 26, 2020 12:26:22 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r263572 r263573 1 2020-06-26 Andres Gonzalez <andresg_22@apple.com> 2 3 Fix for crash in AXIsolatedObject::relativeFrame. 4 https://bugs.webkit.org/show_bug.cgi?id=213363 5 6 Reviewed by Chris Fleizach. 7 8 Covered by existing testss. 9 10 Between the time an isolated object dispatches the method to the main 11 thread and the time the lambda is executed, the isolated object is 12 detached and hence its object ID becomes invalid. Thus, trying to get 13 the associated AX object results in an assert/crash. 14 15 * accessibility/isolatedtree/AXIsolatedObject.h: 16 1 17 2020-06-26 Andres Gonzalez <andresg_22@apple.com> 2 18 -
trunk/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h
r263120 r263573 85 85 { 86 86 ASSERT(isMainThread()); 87 return axObjectCache()->objectFromAXID(objectID());87 return m_id != InvalidAXID ? axObjectCache()->objectFromAXID(m_id) : nullptr; 88 88 } 89 89
Note: See TracChangeset
for help on using the changeset viewer.