[webkit-changes] [WebKit/WebKit] 12cb9f: StreamClientConnection::trySendSyncStream should r...
Gerald Squelart
noreply at github.com
Wed Jul 5 02:09:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 12cb9f518180ff4a469eff2481efdf907e4cf63c
https://github.com/WebKit/WebKit/commit/12cb9f518180ff4a469eff2481efdf907e4cf63c
Author: Gerald Squelart <g_squelart at apple.com>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M Source/WebKit/Platform/IPC/StreamClientConnection.h
Log Message:
-----------
StreamClientConnection::trySendSyncStream should return a reply+decoder XOR an actual error
https://bugs.webkit.org/show_bug.cgi?id=258861
rdar://111722083
Reviewed by Kimmo Kinnunen.
Instead of `SendSyncResult<T> { }`, which would have no decoder and a `NoError` (an invalid combination),
an actual error should be returned.
And in case decoding the reply arguments failed, there should be an actual error as well.
* Source/WebKit/Platform/IPC/StreamClientConnection.h:
(IPC::StreamClientConnection::trySendSyncStream):
Canonical link: https://commits.webkit.org/265763@main
More information about the webkit-changes
mailing list