Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7aacc6579a0267ca6db554536c3fff0d406686c5
      
https://github.com/WebKit/WebKit/commit/7aacc6579a0267ca6db554536c3fff0d406686c5
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    A 
LayoutTests/fast/events/blur-window-with-focus-in-shadow-tree-crash-expected.txt
    A LayoutTests/fast/events/blur-window-with-focus-in-shadow-tree-crash.html
    M Source/WebCore/page/FocusController.cpp

  Log Message:
  -----------
  Use-after-free in Element::dispatchBlurEvent
https://bugs.webkit.org/show_bug.cgi?id=312365
rdar://174646151

Reviewed by Rupin Mittal, Chris Dumez, and Anne van Kesteren.

Deployed more smart pointers to fix the bug.

Test: fast/events/blur-window-with-focus-in-shadow-tree-crash.html

* 
LayoutTests/fast/events/blur-window-with-focus-in-shadow-tree-crash-expected.txt:
 Added.
* LayoutTests/fast/events/blur-window-with-focus-in-shadow-tree-crash.html: 
Added.
* Source/WebCore/page/FocusController.cpp:
(WebCore::dispatchEventsOnWindowAndFocusedElement):

Originally-landed-as: 305413.673@safari-7624-branch (f045966f731c). 
rdar://176058798
Canonical link: https://commits.webkit.org/315098@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to