Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d176a27fbd8788d6287756be3a26cbc2d7ee670e
      
https://github.com/WebKit/WebKit/commit/d176a27fbd8788d6287756be3a26cbc2d7ee670e
  Author: Roberto Rodriguez <[email protected]>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp

  Log Message:
  -----------
  [Site Isolation] Remove unnecessary frameID and WebFrame changes from 
314363@main
https://bugs.webkit.org/show_bug.cgi?id=316226
rdar://178649065

Reviewed by Sihui Liu.

314363@main introduced changes to fix layout test 
window-open-local-after-network-scheme.sub.html under
site isolation. The !m_shouldReuseMainFrame removal in ProvisionalPageProxy and 
the coreLocalFrame()
change in WebFrame::commitProvisionalFrame are not needed.

The CommitTiming::Immediately fix handles the about:blank case on its own, and 
the second call to
takeWindowProxyAndOpenerFrom in commitProvisionalFrame transfers the 
WindowProxy from remoteFrame to
localFrame unconditionally, and when the frame ID is non-null it is always a 
different frame, so the
original coreFrame() code was already correct.

* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::initializeWebPage):
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::commitProvisionalFrame):

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



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

Reply via email to