IPC::Attachment is used as an encoded object The original intent is that IPC::Attachment is an attachment to the IPC message. Attachments are needed for those objects that cannot be transferred as data. Incorrect: Encode Connection port: - Interpret the Connection port as an Attachment - Encode the Attachment - Attachment::encode attaches the attachment to the Encoder attachments list Correct: Encode Connection port: - Construct an Attachment from the Connection port - Attach the Attachment to the Encoder attachments list
<rdar://problem/99638429>
Pull request: https://github.com/WebKit/WebKit/pull/4090
Committed 254379@main (5540bc1e9de4): <https://commits.webkit.org/254379@main> Reviewed commits have been landed. Closing PR #4090 and removing active labels.