[webkit-changes] [WebKit/WebKit] 8f046f: RemotePageProxy should send messages using Auxilia...
Alex Christensen
noreply at github.com
Wed Jul 12 17:31:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8f046fe3a694e027782de5873b635e4403941507
https://github.com/WebKit/WebKit/commit/8f046fe3a694e027782de5873b635e4403941507
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M Source/WebKit/UIProcess/RemotePageProxy.cpp
M Source/WebKit/UIProcess/RemotePageProxy.h
Log Message:
-----------
RemotePageProxy should send messages using AuxiliaryProcessProxy's PendingMessage queue
https://bugs.webkit.org/show_bug.cgi?id=259161
rdar://112156432
Reviewed by J Pascoe.
Sometimes we try to send a message to a process while it is starting up before the connection
has been established. Making RemotePageProxy no longer a MessageSender fixes this.
We now send messages using its process's send capabilities, which already has m_pendingMessages
to queue these messages and send them as soon as the process has a connection.
* Source/WebKit/UIProcess/RemotePageProxy.cpp:
(WebKit::RemotePageProxy::messageSenderConnection const): Deleted.
(WebKit::RemotePageProxy::messageSenderDestinationID const): Deleted.
* Source/WebKit/UIProcess/RemotePageProxy.h:
(WebKit::RemotePageProxy::send):
(WebKit::RemotePageProxy::sendWithAsyncReply):
Canonical link: https://commits.webkit.org/266017@main
More information about the webkit-changes
mailing list