Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fffd531788a1193c48920f584745addfc76cb618
      
https://github.com/WebKit/WebKit/commit/fffd531788a1193c48920f584745addfc76cb618
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M Source/WebCore/page/LocalFrameView.cpp

  Log Message:
  -----------
  Rare crash in LocalFrameView::handleWheelEventForScrolling()
https://bugs.webkit.org/show_bug.cgi?id=288979
rdar://141452614

Reviewed by Tim Horton.

Crash data suggest that LocalFrameView::scrollingNodeID() can return a 
`std::nullopt` while handling user
events, so protect against that. This can happen, for example, if the 
RenderView is null. I wasn't able
to replicate this in a test.

* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::handleWheelEventForScrolling):

Canonical link: https://commits.webkit.org/291540@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to