[webkit-changes] [WebKit/WebKit] 9ed05a: [Site Isolation][iOS] Do not update WKContentView ...

Sihui noreply at github.com
Fri Feb 2 17:32:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9ed05ad3194c26bd5932886be3e1fea91aa4a36f
      https://github.com/WebKit/WebKit/commit/9ed05ad3194c26bd5932886be3e1fea91aa4a36f
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentView.mm

  Log Message:
  -----------
  [Site Isolation][iOS] Do not update WKContentView bounds when transaction comes from subframe process
https://bugs.webkit.org/show_bug.cgi?id=268637
rdar://122193647

Reviewed by Alex Christensen.

We currently change the WKContentView size based on the content size in RemoteLayerTreeTransaction. However, the size
in a subframe process transaction is only about subframe content, so we should not change content view size for that.
Otherwise, the whole web view will be clipped to subframe size.

* Source/WebKit/UIProcess/ios/WKContentView.mm:
(-[WKContentView _didCommitLayerTree:]):

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




More information about the webkit-changes mailing list