[webkit-changes] [WebKit/WebKit] 4edfa3: Update RenderWidget's widget after transitioning f...

Alex Christensen noreply at github.com
Fri May 10 12:40:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4edfa394f4dd9a336340ba2af470786b1f91da86
      https://github.com/WebKit/WebKit/commit/4edfa394f4dd9a336340ba2af470786b1f91da86
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    A LayoutTests/http/tests/site-isolation/draw-after-cross-origin-navigation-expected.html
    A LayoutTests/http/tests/site-isolation/draw-after-cross-origin-navigation.html
    A LayoutTests/http/tests/site-isolation/resources/navigate-to-cross-origin-green-background.html
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp

  Log Message:
  -----------
  Update RenderWidget's widget after transitioning from RemoteFrame to LocalFrame
https://bugs.webkit.org/show_bug.cgi?id=274009
rdar://127335080

Reviewed by Pascoe.

We already call setWidget when transitioning from LocalFrame to RemoteFrame, or no site isolated iframes would draw.
We need a symmetric update call when transitioning the other way for frames to continue to draw after cross-site navigations.

* LayoutTests/http/tests/site-isolation/draw-after-cross-origin-navigation-expected.html: Added.
* LayoutTests/http/tests/site-isolation/draw-after-cross-origin-navigation.html: Added.
* LayoutTests/http/tests/site-isolation/resources/navigate-to-cross-origin-green-background.html: Added.
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::commitProvisionalFrame):

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