Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: adca60896eabbfccb570611296d8788df2bc57b5
https://github.com/WebKit/WebKit/commit/adca60896eabbfccb570611296d8788df2bc57b5
Author: Charlie Wolfe <[email protected]>
Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths:
A
LayoutTests/http/tests/site-isolation/draw-with-size-after-same-origin-navigation-expected.html
A
LayoutTests/http/tests/site-isolation/draw-with-size-after-same-origin-navigation.html
A LayoutTests/http/tests/site-isolation/resources/navigate-to-text.html
A LayoutTests/http/tests/site-isolation/resources/text.html
M LayoutTests/platform/ios/TestExpectations
M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp
Log Message:
-----------
[Site Isolation] iframes draw with an incorrect size after a same-origin
navigation
https://bugs.webkit.org/show_bug.cgi?id=272808
rdar://126605535
Reviewed by Matt Woodrow.
`LocalFrame::createView()` creates a LocalFrameView with the specified viewport
size if the frame is a
root frame. If we are navigating within an iframe, we should use the size of
the old frame view instead
of the page size.
* LayoutTests/platform/ios/TestExpectations:
*
LayoutTests/http/tests/site-isolation/draw-with-size-after-same-origin-navigation-expected.html:
Added.
*
LayoutTests/http/tests/site-isolation/draw-with-size-after-same-origin-navigation.html:
Added.
* LayoutTests/http/tests/site-isolation/resources/navigate-to-text.html: Added.
* LayoutTests/http/tests/site-isolation/resources/text.html: Added.
* Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp:
(WebKit::WebLocalFrameLoaderClient::transitionToCommittedForNewPage):
Canonical link: https://commits.webkit.org/277686@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes