Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74aabff89f46e7f6f25643f5c40eeceb4851d4ef
https://github.com/WebKit/WebKit/commit/74aabff89f46e7f6f25643f5c40eeceb4851d4ef
Author: Ryosuke Niwa <[email protected]>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M Source/WebCore/dom/LiveNodeList.h
M Source/WebCore/dom/LiveNodeListInlines.h
M Source/WebCore/html/CollectionTraversal.h
M Source/WebCore/html/CollectionTraversalInlines.h
M Source/WebCore/html/CollectionType.h
M Source/WebCore/html/LabelsNodeList.h
Log Message:
-----------
Crash in LabelsNodeList::~LabelsNodeList
https://bugs.webkit.org/show_bug.cgi?id=300692
<rdar://162254579>
Reviewed by Chris Dumez.
Fix the crash by using WeakPtr instead of CheckedPtr in LabelsNodeList.
No new tests since we don't have a reproduction.
* Source/WebCore/dom/LiveNodeList.h:
* Source/WebCore/html/CollectionTraversal.h:
* Source/WebCore/html/CollectionTraversalInlines.h:
(WebCore::CollectionTraversal<CollectionTraversalType::WeakPtrDescendants>::begin):
(WebCore::CollectionTraversal<CollectionTraversalType::WeakPtrDescendants>::last):
(WebCore::CollectionTraversal<CollectionTraversalType::WeakPtrDescendants>::traverseForward):
(WebCore::CollectionTraversal<CollectionTraversalType::WeakPtrDescendants>::traverseBackward):
* Source/WebCore/html/CollectionType.h:
Canonical link: https://commits.webkit.org/301516@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes