Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85ef0cf14b234f065ce27d5791beff6017d18928
      
https://github.com/WebKit/WebKit/commit/85ef0cf14b234f065ce27d5791beff6017d18928
  Author: Tyler Wilcock <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to