Title: [293391] branches/safari-613-branch/Source/WebCore
- Revision
- 293391
- Author
- [email protected]
- Date
- 2022-04-25 18:16:13 -0700 (Mon, 25 Apr 2022)
Log Message
Cherry-pick r290860. rdar://problem/89291570
AX: Protect incoming object with Ref in AXObjectCache::textChanged
https://bugs.webkit.org/show_bug.cgi?id=237475
Reviewed by Chris Fleizach.
This is better practice as ascending the hierarchy could cause
the object to get deleted.
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::textChanged):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (293390 => 293391)
--- branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-26 01:13:02 UTC (rev 293390)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-26 01:16:13 UTC (rev 293391)
@@ -1,3 +1,34 @@
+2022-04-25 Alan Coon <[email protected]>
+
+ Cherry-pick r290860. rdar://problem/89291570
+
+ AX: Protect incoming object with Ref in AXObjectCache::textChanged
+ https://bugs.webkit.org/show_bug.cgi?id=237475
+
+ Reviewed by Chris Fleizach.
+
+ This is better practice as ascending the hierarchy could cause
+ the object to get deleted.
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::textChanged):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-04 Tyler Wilcock <[email protected]>
+
+ AX: Protect incoming object with Ref in AXObjectCache::textChanged
+ https://bugs.webkit.org/show_bug.cgi?id=237475
+
+ Reviewed by Chris Fleizach.
+
+ This is better practice as ascending the hierarchy could cause
+ the object to get deleted.
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::textChanged):
+
2022-04-22 Alan Coon <[email protected]>
Cherry-pick r292274. rdar://problem/80544133
Modified: branches/safari-613-branch/Source/WebCore/accessibility/AXObjectCache.cpp (293390 => 293391)
--- branches/safari-613-branch/Source/WebCore/accessibility/AXObjectCache.cpp 2022-04-26 01:13:02 UTC (rev 293390)
+++ branches/safari-613-branch/Source/WebCore/accessibility/AXObjectCache.cpp 2022-04-26 01:16:13 UTC (rev 293391)
@@ -944,6 +944,7 @@
if (!object)
return;
+ Ref<AccessibilityObject> protectedObject(*object);
// If this element supports ARIA live regions, or is part of a region with an ARIA editable role,
// then notify the AT of changes.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes