[webkit-changes] [WebKit/WebKit] 85ef0c: AX: AccessibilityNodeObject::mouseButtonListener d...
Tyler Wilcock
noreply at github.com
Tue Dec 5 11:50:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85ef0cf14b234f065ce27d5791beff6017d18928
https://github.com/WebKit/WebKit/commit/85ef0cf14b234f065ce27d5791beff6017d18928
Author: Tyler Wilcock <tyler_w at apple.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Log Message:
-----------
AX: AccessibilityNodeObject::mouseButtonListener does not null-check Node::parentElement
https://bugs.webkit.org/show_bug.cgi?id=265849
rdar://116429648
Reviewed by Chris Fleizach.
We can fix this bug and improve the cleanliness of the code at the same time by
using the inline ElementAncestorRange<ElementType> lineageOfType(Node& first) function.
* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::mouseButtonListener const):
Canonical link: https://commits.webkit.org/271562@main
More information about the webkit-changes
mailing list