Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae840bd604af983658b60dd915a6800ad4c10c2e
      
https://github.com/WebKit/WebKit/commit/ae840bd604af983658b60dd915a6800ad4c10c2e
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebFrameProxy.cpp

  Log Message:
  -----------
  WebFrameProxy::nextSibling/previousSibling compare find() against the wrong 
container's end()
https://bugs.webkit.org/show_bug.cgi?id=316829
rdar://179275197

Reviewed by Alex Christensen.

Both functions call find() on the parent's child list 
(m_parentFrame->m_childFrames) but compare the
returned iterator against this frame's own m_childFrames.end(). Compare against
m_parentFrame->m_childFrames.end().

* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::nextSibling const):
(WebKit::WebFrameProxy::previousSibling const):

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



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

Reply via email to