Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88d15b836df1c203053e3cff296dd35b2f1a25f5
      
https://github.com/WebKit/WebKit/commit/88d15b836df1c203053e3cff296dd35b2f1a25f5
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    A 
LayoutTests/http/tests/site-isolation/iframe-transform-2d-rotate-expected.html
    A LayoutTests/http/tests/site-isolation/iframe-transform-2d-rotate.html
    A 
LayoutTests/http/tests/site-isolation/iframe-transform-2d-translate-expected.html
    A LayoutTests/http/tests/site-isolation/iframe-transform-2d-translate.html
    A 
LayoutTests/http/tests/site-isolation/iframe-transform-3d-rotate-expected.html
    A LayoutTests/http/tests/site-isolation/iframe-transform-3d-rotate.html
    M Source/WebCore/page/LocalFrameView.h
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/RemoteFrameLayoutInfo.cpp
    M Source/WebCore/page/RemoteFrameLayoutInfo.h
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h

  Log Message:
  -----------
  TileController's visible size is not constricted to its parent
https://bugs.webkit.org/show_bug.cgi?id=319838
rdar://181089113

Reviewed by Alex Christensen.

An out of process iframe gets its own TileController, but previously
we were not clipping the child iframe's visibleRect to that of its
parent.

This occurs when site isolation is disabled since its all in the same
process.

No new IPC messages needed since we were already sending the needed
information across processes, we just didn't use it to constrain the
overdraw rect of the child iframes.

This reclaims ~100% of the IOSurface memory increase in plum4 testing.

Tests: http/tests/site-isolation/iframe-transform-2d-rotate.html
       http/tests/site-isolation/iframe-transform-2d-translate.html
       http/tests/site-isolation/iframe-transform-3d-rotate.html

* 
LayoutTests/http/tests/site-isolation/iframe-transform-2d-rotate-expected.html: 
Added.
* LayoutTests/http/tests/site-isolation/iframe-transform-2d-rotate.html: Added.
* 
LayoutTests/http/tests/site-isolation/iframe-transform-2d-translate-expected.html:
 Added.
* LayoutTests/http/tests/site-isolation/iframe-transform-2d-translate.html: 
Added.
* 
LayoutTests/http/tests/site-isolation/iframe-transform-3d-rotate-expected.html: 
Added.
* LayoutTests/http/tests/site-isolation/iframe-transform-3d-rotate.html: Added.
* Source/WebCore/page/LocalFrameView.h:
* Source/WebCore/page/Page.cpp:
(WebCore::Page::syncLocalFrameInfoToRemote):
* Source/WebCore/page/RemoteFrameLayoutInfo.cpp:
(WebCore::RemoteFrameLayoutInfo::projectVisibleRectToChildContent const):
* Source/WebCore/page/RemoteFrameLayoutInfo.h:
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::updateLocalFrameRect):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::frameTreeSyncDataChangedInAnotherProcess):
(WebKit::WebPage::allFrameTreeSyncDataChangedInAnotherProcess):
(WebKit::WebPage::updateExposedRectFromParent):
* Source/WebKit/WebProcess/WebPage/WebPage.h:

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



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

Reply via email to