Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 952a0bb866457207750ab33fe8e35aa6bd101007
      
https://github.com/WebKit/WebKit/commit/952a0bb866457207750ab33fe8e35aa6bd101007
  Author: Pratiksha Choudhury <[email protected]>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M Source/WebCore/html/HTMLAnchorElement.cpp
    M Source/WebCore/svg/SVGAElement.cpp

  Log Message:
  -----------
  Nullptr crash in WebCore::HTMLAnchorElement::isKeyboardFocusable
https://bugs.webkit.org/show_bug.cgi?id=281282
rdar://137177639

Reviewed by Ryosuke Niwa.

Added nullptr check for the LocalFrame before focused keyboard events.
This does not have a reliable test case but have tested locally on Mac
that WebKit does not have this crash.

* Source/WebCore/html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::isKeyboardFocusable const):
* Source/WebCore/svg/SVGAElement.cpp:
(WebCore::SVGAElement::isKeyboardFocusable const):

Canonical link: https://commits.webkit.org/285145@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

Reply via email to