Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b37c6a0f5b91e8f04013c85308e3fd451a84df17
      
https://github.com/WebKit/WebKit/commit/b37c6a0f5b91e8f04013c85308e3fd451a84df17
  Author: Basuke Suzuki <[email protected]>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
    M Source/WebKit/UIProcess/ProvisionalPageProxy.h

  Log Message:
  -----------
  [Site Isolation] Skip SI remote page setup in ProvisionalPageProxy when 
restoring from BFCache
https://bugs.webkit.org/show_bug.cgi?id=313760
rdar://175954055

Reviewed by Ryosuke Niwa.

When ProvisionalPageProxy is created from a suspended page (BFCache
restore), skip the Site Isolation remote page infrastructure setup in
initializeWebPage. The suspended page's WebProcess already has the
correct WebPage — setting up remote page parameters or taking an
existing RemotePageProxy is unnecessary and incorrect for this path.

Add a bool isRestoringFromBFCache parameter to initializeWebPage,
set from the presence of a suspendedPage in the constructor.

No new tests (no behavior change, multi-process BFCache feature flag is OFF by 
default).

* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::ProvisionalPageProxy):
(WebKit::ProvisionalPageProxy::initializeWebPage):
* Source/WebKit/UIProcess/ProvisionalPageProxy.h:

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



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

Reply via email to