Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fa91023df56d96bfa2e2a0930f77f22f31f2ef30
      
https://github.com/WebKit/WebKit/commit/fa91023df56d96bfa2e2a0930f77f22f31f2ef30
  Author: Richard Robinson <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    A LayoutTests/http/tests/site-isolation/full-viewport-iframe-expected.html
    A LayoutTests/http/tests/site-isolation/full-viewport-iframe.html
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp

  Log Message:
  -----------
  [Site Isolation] [iOS] A full-sized iframe within its parent is not visible
https://bugs.webkit.org/show_bug.cgi?id=320535
rdar://183493532

Reviewed by Aditya Keerthi.

The existing logic in `WebFrame::updateLocalFrameRect` to set the exposed 
content rect and unobscured
content size mostly worked, but fails when the iframe is the full size of the 
viewport. This is
because in this case, its possible only the origin may change, or nothing will 
change, instead of the
size actually changing.

Fix by making that logic always run so it works in all cases (and adjust the 
rest of the function accordingly).

Test: http/tests/site-isolation/full-viewport-iframe.html

* LayoutTests/http/tests/site-isolation/full-viewport-iframe-expected.html: 
Added.
* LayoutTests/http/tests/site-isolation/full-viewport-iframe.html: Added.
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::updateLocalFrameRect):

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



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

Reply via email to