[webkit-changes] [WebKit/WebKit] 5e9b93: Fix PLT without injected bundle with site isolatio...

Alex Christensen noreply at github.com
Thu Sep 26 21:45:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e9b936b502bca44727b25123164eb8d56373482
      https://github.com/WebKit/WebKit/commit/5e9b936b502bca44727b25123164eb8d56373482
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

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

  Log Message:
  -----------
  Fix PLT without injected bundle with site isolation off
https://bugs.webkit.org/show_bug.cgi?id=280430
rdar://136778475

Reviewed by Ryosuke Niwa.

In the ProvisionalPageProxy constructor, when doing a cross-site navigation
we create a new WebFrameProxy to be the main frame of the page after the navigation
if the navigation commits.  When swapping the WebPageProxy's main frame, we need
to add the PageLoadTimingFrameLoadStateObserver as an observer of the new main
frame's state or PageLoadTimingFrameLoadStateObserver::didFinishLoad will never
be called.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::swapToProvisionalPage):

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