[webkit-changes] [WebKit/WebKit] 5a55a8: Nullptr crash in WebCore::MathMLElement::isKeyboar...
pratiksha-99
noreply at github.com
Tue Feb 25 14:26:15 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5a55a82ed2271d86c304a5c96fce208c3a072624
https://github.com/WebKit/WebKit/commit/5a55a82ed2271d86c304a5c96fce208c3a072624
Author: Pratiksha Choudhury <p_choudhury at apple.com>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
A LayoutTests/mathml/mathml-invalid-frame-crash-expected.txt
A LayoutTests/mathml/mathml-invalid-frame-crash.html
M Source/WebCore/mathml/MathMLElement.cpp
Log Message:
-----------
Nullptr crash in WebCore::MathMLElement::isKeyboardFocusable
https://bugs.webkit.org/show_bug.cgi?id=288296
rdar://144405709
Reviewed by Anne van Kesteren and Ryosuke Niwa.
Added a nullptr check for the LocalFrame before focused keyboard events.
* LayoutTests/mathml/mathml-invalid-frame-crash-expected.txt: Added.
* LayoutTests/mathml/mathml-invalid-frame-crash.html: Added.
* Source/WebCore/mathml/MathMLElement.cpp:
(WebCore::MathMLElement::isKeyboardFocusable const):
Canonical link: https://commits.webkit.org/291060@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list