[webkit-changes] [WebKit/WebKit] b81b21: RemotePageProxy should handle all messages from si...

Alex Christensen noreply at github.com
Tue Nov 28 15:33:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b81b211b6d5a3df0501376d584f370b718cf8c4d
      https://github.com/WebKit/WebKit/commit/b81b211b6d5a3df0501376d584f370b718cf8c4d
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M LayoutTests/http/tests/site-isolation/post-message-expected.txt
    M Source/WebKit/UIProcess/RemotePageProxy.cpp
    M Source/WebKit/UIProcess/RemotePageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  RemotePageProxy should handle all messages from site-isolated iframes
https://bugs.webkit.org/show_bug.cgi?id=265416
rdar://116202187

Reviewed by Pascoe.

During the initial development we skipped a few messages, but the time has come to handle them all correctly.

* LayoutTests/http/tests/site-isolation/post-message-expected.txt:
* Source/WebKit/UIProcess/RemotePageProxy.cpp:
(WebKit::RemotePageProxy::didReceiveMessage):
(WebKit::RemotePageProxy::handleMessage):
(WebKit::RemotePageProxy::didCommitLoadForFrame):
* Source/WebKit/UIProcess/RemotePageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleMessage):
(WebKit::WebPageProxy::handleMessageShared):
* Source/WebKit/UIProcess/WebPageProxy.h:

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




More information about the webkit-changes mailing list