Title: [293354] branches/safari-613.2.7.1-branch/Source/WebCore
- Revision
- 293354
- Author
- alanc...@apple.com
- Date
- 2022-04-25 14:24:06 -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.2.7.1-branch/Source/WebCore/ChangeLog (293353 => 293354)
--- branches/safari-613.2.7.1-branch/Source/WebCore/ChangeLog 2022-04-25 21:18:05 UTC (rev 293353)
+++ branches/safari-613.2.7.1-branch/Source/WebCore/ChangeLog 2022-04-25 21:24:06 UTC (rev 293354)
@@ -1,5 +1,36 @@
2022-04-25 Alan Coon <alanc...@apple.com>
+ 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 <tyle...@apple.com>
+
+ 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-25 Alan Coon <alanc...@apple.com>
+
Cherry-pick r292430. rdar://problem/92204558
[Cocoa] Video is sometimes not visible after r292049
Modified: branches/safari-613.2.7.1-branch/Source/WebCore/accessibility/AXObjectCache.cpp (293353 => 293354)
--- branches/safari-613.2.7.1-branch/Source/WebCore/accessibility/AXObjectCache.cpp 2022-04-25 21:18:05 UTC (rev 293353)
+++ branches/safari-613.2.7.1-branch/Source/WebCore/accessibility/AXObjectCache.cpp 2022-04-25 21:24:06 UTC (rev 293354)
@@ -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
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes