[webkit-changes] [WebKit/WebKit] 7525d1: [Site Isolation] Use the GoToBackForwardItem messa...

Charlie Wolfe noreply at github.com
Mon Dec 2 20:28:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7525d1bcf3a15c4a311555ea42a066d29d58218f
      https://github.com/WebKit/WebKit/commit/7525d1bcf3a15c4a311555ea42a066d29d58218f
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

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

  Log Message:
  -----------
  [Site Isolation] Use the GoToBackForwardItem message to load history state into iframe processes
https://bugs.webkit.org/show_bug.cgi?id=283925
rdar://140802902

Reviewed by Alex Christensen.

Now that we can load history into web processes using only UI process session state, we can use the
`GoToBackForwardItem` IPC message to load history state into iframe processes instead of `LoadRequest`.

Also fix an issue introduced in 285517 at main, revealed by this change, where all back/forward items were
unconditionally marked as restored from the session on page creation. Without this fix,
SiteIsolation.NavigateIframeCrossOriginBackForward fails.

No change in behavior with site isolation disabled.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::goToBackForwardItem):
(WebKit::WebPageProxy::creationParameters):

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