Bug 258793 modified `Connection::sendSyncMessage` to handle a code path that could potential return a null `Decoder` pointer along with an `Error::NoError`, which could eventually lead callers (e.g.: `WebPaymentCoordinator::canMakePayments`) to attempt to read the value of an empty `std::optional`. Unless the real root cause is found that would remove this code path entirely, it would be good to add a proper test that exercises it.
Bug 258861 added a couple of other similar fixes in StreamClientConnection::trySendSyncStream.
<rdar://problem/112040784>