[webkit-changes] [WebKit/WebKit] 969d08: [Site Isolation] `WebProcessProxy::pages()` should...

Charlie Wolfe noreply at github.com
Tue Apr 9 18:04:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 969d08bfde0bea8664a95499a6e9e7e4710d8b8b
      https://github.com/WebKit/WebKit/commit/969d08bfde0bea8664a95499a6e9e7e4710d8b8b
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M LayoutTests/http/tests/site-isolation/paste-in-iframe-expected.txt
    M LayoutTests/http/tests/site-isolation/paste-in-iframe.html
    M LayoutTests/http/tests/site-isolation/resources/copy-and-paste-text.html
    M Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm
    M Source/WebKit/UIProcess/WebProcessProxy.cpp
    M Source/WebKit/UIProcess/WebProcessProxy.h

  Log Message:
  -----------
  [Site Isolation] `WebProcessProxy::pages()` should include remote pages
https://bugs.webkit.org/show_bug.cgi?id=272365
rdar://126107383

Reviewed by Alex Christensen.

If a web process was not hosting the main frame we would not allow pasteboard access in
`WebPasteboardProxy::accessType()`.

* LayoutTests/http/tests/site-isolation/paste-in-iframe-expected.txt:
* LayoutTests/http/tests/site-isolation/paste-in-iframe.html:
* LayoutTests/http/tests/site-isolation/resources/copy-and-paste-text.html:
* Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
(WebKit::WebPasteboardProxy::determineDataOwner const):
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::pages const):
(WebKit::WebProcessProxy::mainPages const):
(WebKit::WebProcessProxy::shutDown):
(WebKit::WebProcessProxy::processDidTerminateOrFailedToLaunch):
(WebKit::WebProcessProxy::didFinishLaunching):
* Source/WebKit/UIProcess/WebProcessProxy.h:

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