[webkit-changes] [WebKit/WebKit] 8ccab2: [Site Isolation] Fix broken frame tree traversals ...

Charlie Wolfe noreply at github.com
Tue Feb 18 13:35:53 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8ccab2d8ee4504192c25f92a4f95ed29af6b0e80
      https://github.com/WebKit/WebKit/commit/8ccab2d8ee4504192c25f92a4f95ed29af6b0e80
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M Source/WebCore/history/BackForwardCache.cpp
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/page/Frame.cpp
    M Source/WebCore/page/Frame.h

  Log Message:
  -----------
  [Site Isolation] Fix broken frame tree traversals in BackForwardCache::trySuspendPage
https://bugs.webkit.org/show_bug.cgi?id=287834
rdar://145015809

Reviewed by BJ Burg and Alex Christensen.

Remove a local frame early return and fix recursive functions so that they visit local frames that have
remote parents. No change in behavior while bfcache or site isolation is disabled.

* Source/WebCore/history/BackForwardCache.cpp:
(WebCore::firePageHideEventRecursively):
(WebCore::BackForwardCache::trySuspendPage):
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::stopForBackForwardCache):
* Source/WebCore/page/Frame.cpp:
(WebCore::Frame::stopForBackForwardCache):
* Source/WebCore/page/Frame.h:

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